File size: 393 Bytes
204e17b 555b7d5 d0eb4d0 41dc537 24ec1ce 204e17b 555b7d5 82fb3f8 feb6e07 82fb3f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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 |