Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Commit b74422a

Browse files
aptalcathelamer
authored andcommitted
rebase to bionic
1 parent a7d0fd0 commit b74422a

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM lsiobase/ubuntu:xenial
1+
FROM lsiobase/ubuntu:bionic
22

33
# set version label
44
ARG BUILD_DATE
55
ARG VERSION
66
ARG OPENVPNAS_VERSION
77
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8-
LABEL maintainer="sparklyballs"
8+
LABEL maintainer="sparklyballs,aptalca"
99

1010
# environment settings
1111
ARG DEBIAN_FRONTEND="noninteractive"
@@ -22,13 +22,13 @@ RUN \
2222
echo "**** download openvpn-as ****" && \
2323
if [ -z ${OPENVPNAS_VERSION+x} ]; then \
2424
OPENVPNAS_VERSION=$(curl -w "%{url_effective}" -ILsS -o /dev/null \
25-
https://openvpn.net/downloads/openvpn-as-latest-ubuntu16.amd_64.deb \
26-
| awk -F '(openvpn-as-|-Ubuntu16)' '{print $2}'); \
25+
https://openvpn.net/downloads/openvpn-as-latest-ubuntu18.amd_64.deb \
26+
| awk -F '(openvpn-as-|-Ubuntu18)' '{print $2}'); \
2727
fi && \
2828
mkdir /openvpn && \
2929
curl -o \
3030
/openvpn/openvpn.deb -L \
31-
"https://swupdate.openvpn.org/as/openvpn-as-${OPENVPNAS_VERSION}-Ubuntu16.amd_64.deb" && \
31+
"https://swupdate.openvpn.org/as/openvpn-as-${OPENVPNAS_VERSION}-Ubuntu18.amd_64.deb" && \
3232
echo "**** ensure home folder for abc user set to /config ****" && \
3333
usermod -d /config abc && \
3434
echo "**** create admin user and set default password for it ****" && \

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pipeline {
104104
steps{
105105
script{
106106
env.EXT_RELEASE = sh(
107-
script: ''' curl -w '%{url_effective}' -ILsS https://openvpn.net/downloads/openvpn-as-latest-ubuntu16.amd_64.deb -o /dev/null | awk -F '(openvpn-as-|-Ubuntu16)' '{print $2}' ''',
107+
script: ''' curl -w '%{url_effective}' -ILsS https://openvpn.net/downloads/openvpn-as-latest-ubuntu18.amd_64.deb -o /dev/null | awk -F '(openvpn-as-|-Ubuntu18)' '{print $2}' ''',
108108
returnStdout: true).trim()
109109
env.RELEASE_LINK = 'custom_command'
110110
}

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ The architectures supported by this image are:
3838
| :----: | --- |
3939
| x86-64 | latest |
4040

41+
## Version Tags
42+
43+
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
44+
45+
| Tag | Description |
46+
| :----: | --- |
47+
| latest | Stable releases based on ubuntu bionic |
48+
| xenial | Stable releases based on ubuntu xenial |
4149

4250
## Usage
4351

@@ -197,6 +205,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
197205

198206
## Versions
199207

208+
* **25.07.19:** - Create a xenial branch/tag and rebase master/latest to bionic.
200209
* **07.04.19:** - Fix first time config.
201210
* **03.04.19:** - Big rewrite of the install and update logic of openvpn-as to fix breaking changes (should fix updating from 2.6.1 to 2.7.3), added mysql-client for cluster support.
202211
* **14.03.19:** - Update deb package URL.

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# jenkins variables
44
project_name: docker-openvpn-as
55
external_type: na
6-
custom_version_command: "curl -w '%{url_effective}' -ILsS https://openvpn.net/downloads/openvpn-as-latest-ubuntu16.amd_64.deb -o /dev/null | awk -F '(openvpn-as-|-Ubuntu16)' '{print $2}'"
6+
custom_version_command: "curl -w '%{url_effective}' -ILsS https://openvpn.net/downloads/openvpn-as-latest-ubuntu18.amd_64.deb -o /dev/null | awk -F '(openvpn-as-|-Ubuntu18)' '{print $2}'"
77
release_type: stable
88
release_tag: latest
99
ls_branch: master

readme-vars.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ available_architectures:
1313
- { arch: "{{ arch_x86_64 }}", tag: "latest"}
1414

1515
# development version
16-
development_versions: false
16+
development_versions: true
17+
development_versions_items:
18+
- { tag: "latest", desc: "Stable releases based on ubuntu bionic" }
19+
- { tag: "xenial", desc: "Stable releases based on ubuntu xenial" }
1720

1821
# container parameters
1922
common_param_env_vars_enabled: true
@@ -60,6 +63,7 @@ app_setup_block: |
6063
6164
# changelog
6265
changelogs:
66+
- { date: "25.07.19:", desc: "Create a xenial branch/tag and rebase master/latest to bionic." }
6367
- { date: "07.04.19:", desc: "Fix first time config." }
6468
- { date: "03.04.19:", desc: "Big rewrite of the install and update logic of openvpn-as to fix breaking changes (should fix updating from 2.6.1 to 2.7.3), added mysql-client for cluster support." }
6569
- { date: "14.03.19:", desc: "Update deb package URL." }

0 commit comments

Comments
 (0)