Before buildx test

This commit is contained in:
2023-03-25 16:33:13 -07:00
parent 5f5f3c642c
commit 40fd87e4b9
4 changed files with 43 additions and 24 deletions

View File

@@ -2,13 +2,20 @@
ARG IMAGE=unityci/base:latest
FROM ${IMAGE}
ARG SERIAL
ARG USERNAME
ARG PASSWORD
RUN apt update
RUN apt install -y wget chromium-browser
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ADD https://minio.studiowhy.net/hackmd/UnityBuilder /usr/local/bin/
RUN chmod +x /usr/local/bin/UnityBuilder
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
COPY scripts/. /scripts
RUN bash /scripts/activate_license.sh ${SERIAL} ${USERNAME} ${PASSWORD}
ENTRYPOINT ["/entrypoint.sh"]