Commit ad34d10a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

mounting secret

parent c5c40e48
# syntax = docker/dockerfile:experimental
FROM debian:10 AS dependencies
WORKDIR /html
......@@ -113,7 +114,8 @@ RUN chmod +x /entrypoint.sh
COPY --chown=1000:1000 . /html
# Install packages
RUN chmod +x ./helpers/installPackages.sh && \
RUN --mount=type=secret,id=auto-devops-build-secrets . /run/secrets/auto-devops-build-secrets && \
chmod +x ./helpers/installPackages.sh && \
/bin/sh -c ./helpers/installPackages.sh
USER 1000:1000
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment