File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: AGPL-3.0-or-later
2- # Cloud Sync Tuner - Podman/Buildah Containerfile
3- # Works with: podman build, buildah bud, nerdctl build
2+ # Cloud Sync Tuner - Wolfi-based container image
43
54FROM cgr.dev/chainguard/wolfi-base:latest AS builder
65
@@ -41,20 +40,12 @@ COPY --from=builder /build/scripts/cloud-sync-status /usr/bin/
4140COPY --from=builder /build/config/config.toml.example /etc/cloud-sync-tuner/config.toml.example
4241
4342# Create non-root user
44- RUN adduser -D -u 1000 tuner
45- USER tuner
46- WORKDIR /home/tuner
43+ RUN adduser -D -u 1000 sync
44+ USER sync
45+ WORKDIR /home/sync
4746
4847# FUSE needs /dev/fuse
49- VOLUME ["/home/tuner /.config/rclone" , "/home/tuner /.cache/rclone" , "/mnt/cloud" ]
48+ VOLUME ["/home/sync /.config/rclone" , "/home/sync /.cache/rclone" , "/mnt/cloud" ]
5049
5150ENTRYPOINT ["/sbin/tini" , "--" ]
5251CMD ["cloud-sync-tuner" ]
53-
54- # OCI annotations
55- LABEL org.opencontainers.image.title="Cloud Sync Tuner"
56- LABEL org.opencontainers.image.description="Ada TUI for managing rclone cloud mounts with rate limiting"
57- LABEL org.opencontainers.image.version="1.0.0"
58- LABEL org.opencontainers.image.vendor="hyperpolymath"
59- LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"
60- LABEL org.opencontainers.image.source="https://github.com/hyperpolymath/cloud-sync-tuner"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 "test" : " deno test --allow-all"
99 },
1010 "imports" : {
11- "rescript" : " npm:rescript@ ^12.1 .0" ,
11+ "rescript" : " ^12.0 .0" ,
1212 "@rescript/core" : " npm:@rescript/core@^1.6.0" ,
1313 "safe-dom/" : " https://raw.githubusercontent.com/hyperpolymath/rescript-dom-mounter/main/src/" ,
1414 "proven/" : " ../proven/bindings/rescript/src/"
Original file line number Diff line number Diff line change @@ -259,3 +259,8 @@ help:
259259 @ echo " just cookbook-enterprise Enable SELinux + audit"
260260 @ echo " "
261261 @ echo " Run 'just --list' for all recipes"
262+
263+ # [AUTO-GENERATED] Multi-arch / RISC-V target
264+ build-riscv :
265+ @ echo " Building for RISC-V..."
266+ cross build --target riscv64 gc-unknown-linux-gnu
You can’t perform that action at this time.
0 commit comments