Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
gitlab-jekyll-runner
Commits
e8c4d223
Commit
e8c4d223
authored
Feb 23, 2019
by
Michał 'rysiek' Woźniak
Browse files
bugfix
parent
0232927c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
e8c4d223
...
...
@@ -31,7 +31,7 @@ COPY node-repo-key.asc /tmp/node-repo-key.asc
RUN
apt-key add /tmp/node-repo-key.asc
# add the node repo
RUN
echo
-e
"deb https://deb.nodesource.com/node_8.x trusty main
\n
deb-src https://deb.nodesource.com/node_8.x trusty main
\n
"
>
/etc/apt/sources.list.d/node_8.x.list
RUN
echo
"deb https://deb.nodesource.com/node_8.x trusty main
\n
deb-src https://deb.nodesource.com/node_8.x trusty main
\n
"
>
/etc/apt/sources.list.d/node_8.x.list
# adding additional repository keys from build args
ARG
ADD_REPOSITORY_KEYS=
...
...
@@ -42,7 +42,7 @@ RUN if [ "$ADD_REPOSITORY_KEYS" != "" ]; then \
# adding repositories from build args
ARG
ADD_REPOSITORIES=
RUN if
[
"
$ADD_REPOSITORIES
"
!=
""
]
;
then
\
echo
-e
"
$ADD_REPOSITORIES
"
|
sed
-e
's/^[[:space:]]*//'
>
/etc/apt/sources.list.d/added-from-docker-build-arg.list
;
\
echo
"
$ADD_REPOSITORIES
"
|
sed
-e
's/^[[:space:]]*//'
>
/etc/apt/sources.list.d/added-from-docker-build-arg.list
;
\
fi
# Ruby and requirements
...
...
Write
Preview
Markdown
is supported
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