ContainersWorkspace/rathole/Containerfile
Maciej Lebiest bb1468170d
All checks were successful
Build images / build-images-arm64 (push) Successful in 11m34s
Build images / build-images-amd64 (push) Successful in 13m59s
Build images / update-images-manifests (push) Successful in 36s
Containerfiles, add rclone, rsync to toolboxes
2024-02-11 20:07:07 +01:00

16 lines
397 B
Docker

FROM registry.fedoraproject.org/fedora:38 as builder
WORKDIR /
RUN dnf clean all && \
dnf install -y git cargo openssl-devel && \
git clone https://github.com/rapiz1/rathole.git && \
cd ./rathole && \
cargo build --release
FROM registry.fedoraproject.org/fedora-minimal:38
WORKDIR /
COPY --from=builder /rathole/target/release/rathole .
USER 1852:1852
ENTRYPOINT ["./rathole"]