mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 14:38:59 +00:00
3 files changed
-21
No files matched your search
@@ -1,18 +0,0 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH rust:1.31-slim
|
||||
|
||||
LABEL author="Ethan Coward" maintainer="[email protected]"
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install git dnsutils curl iproute2 ffmpeg tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container CARGO_HOME=/home/container/.cargo
|
||||
WORKDIR /home/container
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
Reference in new issue
Block a user