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
Merge requests
!20
build (docker): run as unpriviledged user duniter
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
build (docker): run as unpriviledged user duniter
docker-user
into
master
Overview
1
Commits
2
Pipelines
0
Changes
1
Closed
pini
requested to merge
docker-user
into
master
3 years ago
Overview
1
Commits
2
Pipelines
0
Changes
1
Expand
Fix
#23 (closed)
.
0
0
Merge request reports
Compare
master
version 4
a3564139
3 years ago
version 3
06f9c34f
3 years ago
version 2
7b4bec46
3 years ago
version 1
a58de59d
3 years ago
master (base)
and
version 1
latest version
a3564139
2 commits,
3 years ago
version 4
a3564139
1 commit,
3 years ago
version 3
06f9c34f
1 commit,
3 years ago
version 2
7b4bec46
1 commit,
3 years ago
version 1
a58de59d
1 commit,
3 years ago
1 file
+
6
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docker/Dockerfile
+
6
−
3
Options
@@ -35,12 +35,15 @@ LABEL maintainer="Gilles Filippini <gilles.filippini@pini.fr>"
LABEL
version="0.0.0"
LABEL
description="Crypto-currency software (based on Substrate framework) to operate Ğ1 libre currency"
# Intall
COPY
--from=build /root/build/duniter /usr/local/bin/duniter
COPY
docker/docker-entrypoint /usr/local/bin/
RUN
adduser
--home
/var/lib/duniter duniter
# Configuration
# rpc, rpc-ws, p2p, telemetry
EXPOSE
9933 9944 30333 9615
VOLUME
/var/lib/duniter
ENTRYPOINT
["docker-entrypoint"]
USER
duniter
# Intall
COPY
--from=build /root/build/duniter /usr/local/bin/duniter
COPY
docker/docker-entrypoint /usr/local/bin/
Loading