Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
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
typescript
duniter
Commits
3a6f4eaa
Commit
3a6f4eaa
authored
4 years ago
by
Gilles Filippini
Browse files
Options
Downloads
Patches
Plain Diff
build(docker): install into /duniter
Was /duniter/duniter.
parent
8e200e5b
No related branches found
No related tags found
1 merge request
!1381
Docker: move config back to volume /var/lib/duniter and other minor changes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
release/docker/Dockerfile
+2
-2
2 additions, 2 deletions
release/docker/Dockerfile
release/docker/docker-entrypoint.sh
+0
-1
0 additions, 1 deletion
release/docker/docker-entrypoint.sh
with
2 additions
and
3 deletions
release/docker/Dockerfile
+
2
−
2
View file @
3a6f4eaa
...
@@ -44,10 +44,10 @@ RUN addgroup -S -g 1111 duniter && \
...
@@ -44,10 +44,10 @@ RUN addgroup -S -g 1111 duniter && \
RUN
mkdir
-p
/var/lib/duniter /etc/duniter
&&
chown
duniter:duniter /var/lib/duniter /etc/duniter
RUN
mkdir
-p
/var/lib/duniter /etc/duniter
&&
chown
duniter:duniter /var/lib/duniter /etc/duniter
# copy the build artifact from the build stage
# copy the build artifact from the build stage
COPY
--from=build --chown=duniter:duniter /duniter/work /duniter
/duniter
COPY
--from=build --chown=duniter:duniter /duniter/work /duniter
# install duniter executable symlink
# install duniter executable symlink
RUN
ln
-s
/duniter/
duniter/
bin/duniter /usr/bin/duniter
RUN
ln
-s
/duniter/bin/duniter /usr/bin/duniter
# copy entrypoint
# copy entrypoint
COPY
release/docker/docker-entrypoint.sh /
COPY
release/docker/docker-entrypoint.sh /
...
...
This diff is collapsed.
Click to expand it.
release/docker/docker-entrypoint.sh
+
0
−
1
View file @
3a6f4eaa
...
@@ -107,7 +107,6 @@ DUNITER_CONF_HOME="/etc/duniter"
...
@@ -107,7 +107,6 @@ DUNITER_CONF_HOME="/etc/duniter"
export
DUNITER_CONF_HOME
export
DUNITER_CONF_HOME
# Start duniter
# Start duniter
cd
/duniter/duniter
echo
Starting duniter with:
echo
Starting duniter with:
echo
/usr/bin/duniter
"
$@
"
echo
/usr/bin/duniter
"
$@
"
exec
/usr/bin/duniter
"
$@
"
exec
/usr/bin/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