Skip to content
Snippets Groups Projects
Commit 67778cb4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update to Python 3

Add images for Node 10, 12 and 13
parent 1bcb1c9e
No related branches found
No related tags found
No related merge requests found
Pipeline #12145 failed
......@@ -8,3 +8,27 @@ node-8:
- 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-jessie-slim -t $CI_REGISTRY_IMAGE:12-jessie-slim .
- docker push $CI_REGISTRY_IMAGE:12-jessie-slim
only:
- master
node-13:
stage: build
script:
- docker build --pull --build-arg NODE_VERSION=13-jessie-slim -t $CI_REGISTRY_IMAGE:13-jessie-slim .
- docker push $CI_REGISTRY_IMAGE:13-jessie-slim
only:
- master
FROM node:8-jessie-slim
ARG NODE_VERSION
FROM node:${NODE_VERSION}
LABEL com.example.vendor="LakeDrops" \
maintainer="juergen.haas@lakedrops.com" \
description="Node container with build tools included."
RUN apt-get update -y && \
apt-get install -y -q python make g++ && \
apt-get install -y -q python3 make g++ && \
\
apt-get clean && \
rm -rf /root/.cache && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment