Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
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
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
e79a07b3
Verified
Commit
e79a07b3
authored
4 years ago
by
Gaëtan Blond
Browse files
Options
Downloads
Patches
Plain Diff
[Mobilizon] Fixed multiple bugs | build working
parent
c6ed3164
No related branches found
Branches containing commit
No related tags found
1 merge request
!55
Mobilizon
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pica-mobilizon/app/Dockerfile
+2
-2
2 additions, 2 deletions
pica-mobilizon/app/Dockerfile
pica-mobilizon/docker-compose.yml
+2
-2
2 additions, 2 deletions
pica-mobilizon/docker-compose.yml
with
4 additions
and
4 deletions
pica-mobilizon/app/Dockerfile
+
2
−
2
View file @
e79a07b3
...
...
@@ -18,9 +18,9 @@ RUN apt-get update -y \
RUN
useradd
-ms
/bin/bash
-p
!
mobilizon
USER
mobilizon
WORKDIR
/home/mobilizon
COPY
./prod.secret.exs /home/mobilizon/build/config/
RUN
git clone
-b
"
$MOBILIZON_GIT_TAG
"
"
$MOBILIZON_GIT_URL
"
./build
WORKDIR
/home/mobilizon/build
COPY
./prod.secret.exs /home/mobilizon/build/config/
RUN
mix local.hex
--force
\
&&
mix local.rebar
--force
RUN
mix deps.get
...
...
@@ -42,7 +42,7 @@ ENV INIT=FALSE \
MIX_ENV=prod \
INSTANCE_CONFIG=prod
RUN
addgroup
-S
mobilizongr
&&
adduser
-s
/bin/bash
-S
mobilizon
-G
mobilizongr
RUN
apk update
&&
apk add
--update
git
&&
rm-rf /tmp/
*
/var/tmp/
*
RUN
apk update
&&
apk add
--update
git
&&
rm
-rf
/tmp/
*
/var/tmp/
*
COPY
--from=builder /home/mobilizon/build/ /home/mobilizon/live/
COPY
--from=builder /home/mobilizon/.mix/ /home/mobilizon/.mix/
COPY
./entrypoint.sh /home/mobilizon/entrypoint.sh
...
...
This diff is collapsed.
Click to expand it.
pica-mobilizon/docker-compose.yml
+
2
−
2
View file @
e79a07b3
...
...
@@ -15,14 +15,14 @@ volumes:
services
:
mobilizon
:
image
:
registry.picasoft.net/pica-mobilizon:1.0.0
.
rc4
image
:
registry.picasoft.net/pica-mobilizon:1.0.0
-
rc
.
4
build
:
context
:
./app
dockerfile
:
Dockerfile
args
:
-
NODE_V=14
-
MOBILIZON_GIT_URL=https://framagit.org/framasoft/mobilizon.git
-
MOBILIZON_GIT_TAG=1.0.0
.
rc4
-
MOBILIZON_GIT_TAG=1.0.0
-
rc
.
4
-
MIX_ENV=prod
container_name
:
mobilizon-app
volumes
:
...
...
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