Skip to content
Snippets Groups Projects
Commit 1bcb1c9e authored by jurgenhaas's avatar jurgenhaas
Browse files

Initial code

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #6464 passed
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
node-8:
stage: build
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
FROM node:8-jessie-slim
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 clean && \
rm -rf /root/.cache && \
rm -rf /var/cache/* && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/log/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment