Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vibe-docker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Johannes Loher
vibe-docker
Commits
6f4ac1a3
Commit
6f4ac1a3
authored
Nov 29, 2018
by
Johannes Loher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve Dockerfile for caching
parent
36ba1da0
Pipeline
#110
passed with stage
in 6 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
Dockerfile
Dockerfile
+1
-7
No files found.
Dockerfile
View file @
6f4ac1a3
...
...
@@ -2,14 +2,10 @@ FROM dlang2/dmd-ubuntu:2.083.0 as build
WORKDIR
/dlang/vibe-docker
COPY
. .
RUN
useradd
--user-group
--create-home
--shell
/bin/false app
&&
\
chown
-R
app:app /dlang/vibe-docker
USER
app
RUN
dub build
--build
=
release
FROM
ubuntu:17.10
EXPOSE
8080
ENV
DEBIAN_FRONTEND=noninteractive
RUN
set
-ex
&&
\
...
...
@@ -24,6 +20,4 @@ RUN useradd --user-group --create-home --shell /bin/false app && \
chown
-R
app:app /dlang/vibe-docker
USER
app
EXPOSE
8080
CMD
["/dlang/vibe-docker/vibe-docker"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment