Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openvpn
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
Container Platform
openvpn
Commits
c1493c30
Commit
c1493c30
authored
Nov 14, 2019
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
Remove packages from first stage that are needed only in the second one
parent
1ba08b93
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
with
1 addition
and
1 deletion
Dockerfile
+
1
−
1
View file @
c1493c30
FROM
debian:buster
AS
build
FROM
debian:buster
AS
build
RUN
apt-get
-q
update
&&
env
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
RUN
apt-get
-q
update
&&
env
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
build-essential pkg-config golang-go git ca-certificates
openvpn netcat-openbsd iptables
\
build-essential pkg-config golang-go git ca-certificates
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
# don't need to do bash tricks to keep the layers small, as this is a multi-stage build
# don't need to do bash tricks to keep the layers small, as this is a multi-stage build
...
...
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