Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
cc648aaf
Commit
cc648aaf
authored
3 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
CI: use new dockerfile for debug image
parent
d96731ff
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
docker/duniter-debug.Dockerfile
+0
-36
0 additions, 36 deletions
docker/duniter-debug.Dockerfile
with
1 addition
and
37 deletions
.gitlab-ci.yml
+
1
−
1
View file @
cc648aaf
...
@@ -139,5 +139,5 @@ deploy_docker_debug:
...
@@ -139,5 +139,5 @@ deploy_docker_debug:
when
:
never
when
:
never
-
if
:
$CI_COMMIT_BRANCH == "master"
-
if
:
$CI_COMMIT_BRANCH == "master"
variables
:
variables
:
DOCKERFILE_PATH
:
"
docker/
duniter-debug.
Dockerfile"
DOCKERFILE_PATH
:
"
docker/Dockerfile"
IMAGE_TAG
:
"
debug-sha-$CI_COMMIT_SHORT_SHA"
IMAGE_TAG
:
"
debug-sha-$CI_COMMIT_SHORT_SHA"
This diff is collapsed.
Click to expand it.
docker/duniter-debug.Dockerfile
deleted
100644 → 0
+
0
−
36
View file @
d96731ff
# Duniter debug node
#
# Requires to run from repository root and to copy the binary in the build folder
# (part of the CI workflow)
FROM
docker.io/library/ubuntu:20.04
AS
builder
RUN
apt-get update
&&
apt-get
install
-y
ca-certificates
&&
update-ca-certificates
FROM
debian:buster-slim
LABEL
maintainer "elois@duniter.org"
LABEL
description="Binary for duniter debug node"
RUN
useradd
-m
-u
1000
-U
-s
/bin/sh
-d
/duniter duniter
&&
\
mkdir
-p
/duniter/.local/share
&&
\
mkdir
/data
&&
\
chown
-R
duniter:duniter /data
&&
\
ln
-s
/data /duniter/.local/share/duniter
&&
\
rm
-rf
/usr/bin /usr/sbin
COPY
--from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
USER
duniter
COPY
--chown=duniter build/duniter /duniter/duniter
RUN
chmod
uog+x /duniter/duniter
# 30333 for p2p
# 9933 for RPC call
# 9944 for Websocket
# 9615 for Prometheus (metrics)
EXPOSE
30333 9933 9944 9615
VOLUME
["/data"]
ENTRYPOINT
["/duniter/duniter"]
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