Containerfiles, add rclone, rsync to toolboxes
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

This commit is contained in:
Maciej Lebiest 2024-02-11 20:07:07 +01:00
parent a551468585
commit bb1468170d
9 changed files with 4 additions and 2 deletions

22
snowflake/Containerfile Normal file
View file

@ -0,0 +1,22 @@
FROM registry.fedoraproject.org/fedora:39
RUN useradd -u 1423 -m -s '/bin/bash' -U snowflake
ENV TZ=Europe/Warsaw
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
dnf clean all && \
dnf install -y git golang && \
git clone https://git.torproject.org/pluggable-transports/snowflake.git && \
cd snowflake/proxy && \
go build && \
dnf remove -y golang git && \
dnf -y autoremove && \
dnf -y clean all && \
mv /snowflake/proxy/proxy /usr/bin/proxy && \
cd / && \
rm -rf /snowflake /root/* && \
chown snowflake.snowflake /usr/bin/proxy
USER snowflake
ENTRYPOINT ["/usr/bin/proxy"]