rest
This commit is contained in:
@@ -2,10 +2,6 @@
|
||||
ARG IMAGE=unityci/base:latest
|
||||
FROM ${IMAGE}
|
||||
|
||||
ARG SERIAL
|
||||
ARG USERNAME
|
||||
ARG PASSWORD
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y wget chromium-browser
|
||||
|
||||
@@ -16,6 +12,9 @@ COPY entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
COPY scripts/. /scripts
|
||||
RUN bash /scripts/activate_license.sh ${SERIAL} ${USERNAME} ${PASSWORD}
|
||||
RUN --mount=type=secret,id=SERIAL \
|
||||
--mount=type=secret,id=USERNAME \
|
||||
--mount=type=secret,id=PASSWORD \
|
||||
bash /scripts/activate_license.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user