Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
Node
Commits
e7097abc
Commit
e7097abc
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge branch 'jurgenhaas-master-patch-91786' into 'master'
Add curl See merge request
!1
parents
3ccb88a6
5b5562f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Add curl
Pipeline
#410276
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-27
6 additions, 27 deletions
.gitlab-ci.yml
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
with
7 additions
and
28 deletions
.gitlab-ci.yml
+
6
−
27
View file @
e7097abc
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
node
-8
:
node
:
stage
:
build
parallel
:
matrix
:
-
VERSION
:
[
'
8-jessie-slim'
,
'
10-jessie-slim'
,
'
12-stretch-slim'
,
'
13-stretch-slim'
]
script
:
-
docker build --pull --build-arg NODE_VERSION=8-jessie-slim -t $CI_REGISTRY_IMAGE:8-jessie-slim .
-
docker push $CI_REGISTRY_IMAGE:8-jessie-slim
only
:
-
master
node-10
:
stage
:
build
script
:
-
docker build --pull --build-arg NODE_VERSION=10-jessie-slim -t $CI_REGISTRY_IMAGE:10-jessie-slim .
-
docker push $CI_REGISTRY_IMAGE:10-jessie-slim
only
:
-
master
node-12
:
stage
:
build
script
:
-
docker build --pull --build-arg NODE_VERSION=12-stretch-slim -t $CI_REGISTRY_IMAGE:12-stretch-slim .
-
docker push $CI_REGISTRY_IMAGE:12-stretch-slim
only
:
-
master
node-13
:
stage
:
build
script
:
-
docker build --pull --build-arg NODE_VERSION=13-stretch-slim -t $CI_REGISTRY_IMAGE:13-stretch-slim .
-
docker push $CI_REGISTRY_IMAGE:13-stretch-slim
-
docker build --pull --build-arg NODE_VERSION=${VERSION} -t $CI_REGISTRY_IMAGE:${VERSION} .
-
docker push $CI_REGISTRY_IMAGE:${VERSION}
only
:
-
master
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
e7097abc
...
...
@@ -7,7 +7,7 @@ LABEL com.example.vendor="LakeDrops" \
description="Node container with build tools included."
RUN
apt-get update
-y
&&
\
apt-get
install
-y
-q
python3 make g++
&&
\
apt-get
install
-y
-q
python3 make g++
curl
&&
\
ln
-s
python3 /usr/bin/python
&&
\
\
apt-get clean
&&
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment