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

feat: add build script, upgrade to 1.2.4 dcli and dind to 20.10.3

parent 7d3051e8
Branches master
No related tags found
No related merge requests found
FROM docker:18.09.6-dind
FROM docker:20.10.3-dind
RUN apk add --update python3-dev py-pip gcc musl-dev maven
RUN pip3 install --upgrade pip
......
......@@ -5,9 +5,5 @@ This Dockerfile installs deadlock-cli inside a docker-in-docker container
# Steps to upgrade image
```bash
$ NEW_VERSION=x.y
$ docker build -t ci-deadlock-cli:$NEW_VERSION .
$ docker tag ci-deadlock-cli:$NEW_VERSION registry.e-biz.fr/apuret/deadlock-public/ci-deadlock-cli:$NEW_VERSION
$ docker login registry.e-biz.fr/apuret/deadlock-public/
$ docker push registry.e-biz.fr/apuret/deadlock-public/ci-deadlock-cli:$NEW_VERSION
> ./build.sh VERSION
```
#!/bin/sh
[ -z "$1" ] && echo "Version not specified" && exit 1;
NEW_VERSION=$1
docker build -t ci-deadlock-cli:$NEW_VERSION .
docker tag ci-deadlock-cli:$NEW_VERSION registry.e-biz.fr/apuret/deadlock-public/ci-deadlock-cli:$NEW_VERSION
docker login registry.e-biz.fr/apuret/deadlock-public/
docker push registry.e-biz.fr/apuret/deadlock-public/ci-deadlock-cli:$NEW_VERSION
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment