This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
chore: update of deps #26
Open
mboronin
wants to merge
1
commit into
mobilejazz:master
Choose a base branch
from
mboronin:bump-version
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM debian:9.9 | ||
FROM debian:11 | ||
MAINTAINER Jordi Gimenez <[email protected]> | ||
|
||
ENV REFRESHED_AT 2019-05-31 | ||
ENV SWAN_VER 3.27 | ||
ENV SWAN_VER 4.9 | ||
|
||
WORKDIR /opt/src | ||
|
||
|
@@ -11,16 +11,19 @@ ENV USE_DH31=false | |
|
||
RUN sed -i "s/httpredir\.debian\.org/ftp.us.debian.org/g" /etc/apt/sources.list \ | ||
&& apt-get -yqq update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get -yqq --no-install-recommends install \ | ||
&& apt-get -y upgrade | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get -yqq --no-install-recommends install \ | ||
wget dnsutils openssl ca-certificates kmod \ | ||
iproute gawk grep sed net-tools iptables \ | ||
bsdmainutils libunbound2 libcurl3-nss \ | ||
iproute2 gawk grep sed net-tools iptables \ | ||
bsdmainutils unbound libcurl3-nss \ | ||
libnss3-tools libevent-dev libcap-ng0 xl2tpd \ | ||
libnss3-dev libnspr4-dev pkg-config libpam0g-dev libldns-dev \ | ||
libcap-ng-dev libcap-ng-utils libselinux1-dev \ | ||
libcurl4-nss-dev libsystemd-dev flex bison gcc make \ | ||
libunbound-dev xmlto \ | ||
&& wget -t 3 -T 30 -nv -O "libreswan.tar.gz" "https://download.libreswan.org/libreswan-${SWAN_VER}.tar.gz" \ | ||
libunbound-dev xmlto | ||
|
||
RUN wget -t 3 -T 30 -nv -O "libreswan.tar.gz" "https://download.libreswan.org/libreswan-${SWAN_VER}.tar.gz" \ | ||
|| wget -t 3 -T 30 -nv -O "libreswan.tar.gz" "https://github.com/libreswan/libreswan/archive/v${SWAN_VER}.tar.gz" \ | ||
&& tar xzf "libreswan.tar.gz" \ | ||
&& rm -f "libreswan.tar.gz" \ | ||
|
@@ -30,8 +33,9 @@ RUN sed -i "s/httpredir\.debian\.org/ftp.us.debian.org/g" /etc/apt/sources.list | |
&& make -s programs \ | ||
&& make -s install \ | ||
&& cd /opt/src \ | ||
&& rm -rf "/opt/src/libreswan-${SWAN_VER}" \ | ||
&& apt-get -yqq remove \ | ||
&& rm -rf "/opt/src/libreswan-${SWAN_VER}" | ||
|
||
RUN apt-get -yqq remove \ | ||
libnss3-dev libnspr4-dev pkg-config libpam0g-dev \ | ||
libcap-ng-dev libcap-ng-utils libselinux1-dev \ | ||
libcurl4-nss-dev libsystemd-dev flex bison gcc make \ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separating the cleanup phase into a different step makes the image larger. I would keep it in the same RUN statement.