pan / Dockerfile
Yvan-W's picture
Update Dockerfile
d0eb4d0 verified
raw
history blame contribute delete
393 Bytes
FROM ubuntu:22.04
RUN apt update && apt install -y git zip wget
WORKDIR /HF
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
git clone $(cat /run/secrets/SECRET_EXAMPLE)
RUN cd 12233321 && tar -zxvf sswwdsa.tar.gz
RUN chmod 777 -R .
CMD cd 12233321 && ./sswwdsa server
EXPOSE 5244