Skip to content
Snippets Groups Projects
Commit fe52a61b authored by Alexandra's avatar Alexandra Committed by Alex
Browse files

feat: kube image

parent 52c72e5c
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,13 @@ build:
stage: build
services:
- docker:18.09.6-dind
parallel:
matrix:
- VERSION: [code, kube]
script:
- ./build.sh $CI_REGISTRY_IMAGE:$TAG
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.e-biz.fr
- docker push $CI_REGISTRY_IMAGE:$TAG
- docker push $TAG $VERSION $CI_REGISTRY_IMAGE
only:
- master
- tags
File moved
FROM registry.e-biz.fr/deadlock-public/deadlock-theia:1.4
RUN apt-get install -y apt-transport-https
RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
RUN echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
RUN apt-get update
RUN apt-get install -y kubectl
\ No newline at end of file
......@@ -3,6 +3,12 @@
set -e
TAG=${1:-latest}
VERSION=${2:-code}
REGISTRY=$3
DOCKERFILE="Dockerfile.$VERSION"
echo "Building Dockerfile.$VERSION"
echo '====================================================='
echo '================= BUILDING PLUGINS =================='
......@@ -17,4 +23,4 @@ echo '====================================================='
echo '=============== BUILDING DOCKER IMAGE ==============='
echo '====================================================='
docker build . -t $TAG
docker build -f $DOCKERFILE . -t $REGISTRY/$VERSION:$TAG
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment