Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
Proxy
Commits
ad34d10a
Commit
ad34d10a
authored
Aug 17, 2021
by
Dominik Hebeler
Browse files
mounting secret
parent
c5c40e48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
ad34d10a
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment