Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
deadlock-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
deadlock-public
deadlock-docker
Commits
8b8785c3
Commit
8b8785c3
authored
Jun 11, 2020
by
Josquin Cornec
Browse files
Options
Downloads
Patches
Plain Diff
ci: add Dockerfile with deadlock-cli over dind
parent
ebf1589a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci-deadlock-cli/Dockerfile
+12
-0
12 additions, 0 deletions
ci-deadlock-cli/Dockerfile
ci-deadlock-cli/README.md
+13
-0
13 additions, 0 deletions
ci-deadlock-cli/README.md
with
25 additions
and
0 deletions
ci-deadlock-cli/Dockerfile
0 → 100644
+
12
−
0
View file @
8b8785c3
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
"
\0
33[33mInstalling experimental feature to use (docker manifest inspect), can be change in the future.
\0
33[0m"
RUN
echo
"{
\"
experimental
\"
:
\"
enabled
\"
}"
>
~/.docker/config.json
This diff is collapsed.
Click to expand it.
ci-deadlock-cli/README.md
0 → 100644
+
13
−
0
View file @
8b8785c3
# 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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment