Skip to content
Snippets Groups Projects
Commit 8b8785c3 authored by Josquin Cornec's avatar Josquin Cornec
Browse files

ci: add Dockerfile with deadlock-cli over dind

parent ebf1589a
Branches
No related tags found
No related merge requests found
FROM docker:18.09.6-dind
RUN apk add --update python3-dev py-pip gcc musl-dev
RUN pip3 install --upgrade pip
RUN pip3 install deadlock-cli
RUN mkdir -p ~/.docker
RUN echo -e "\033[33mInstalling experimental feature to use (docker manifest inspect), can be change in the future.\033[0m"
RUN echo "{\"experimental\": \"enabled\"}" > ~/.docker/config.json
# Deadlock cli
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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment