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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
Container Platform
openvpn
Commits
89a1f668
Verified
Commit
89a1f668
authored
5 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
Use openvpn from buster
parent
1752bb70
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
with
2 additions
and
1 deletion
Dockerfile
+
2
−
1
View file @
89a1f668
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
\
build-essential pkg-config golang-go git ca-certificates
openvpn
\
&&
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
...
@@ -15,6 +15,7 @@ FROM registry.git.autistici.org/ai3/docker/chaperone-base
...
@@ -15,6 +15,7 @@ FROM registry.git.autistici.org/ai3/docker/chaperone-base
#RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
#RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
COPY
--from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY
--from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY
--from=build /usr/sbin/openvpn /usr/sbin/openvpn
COPY
chaperone.d/ /etc/chaperone.d
COPY
chaperone.d/ /etc/chaperone.d
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
\
openvpn libcap2-bin netcat-openbsd iptables
\
openvpn libcap2-bin netcat-openbsd iptables
\
...
...
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