Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
bump back to 1.1.0 rebase to focal
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Jul 6, 2020
1 parent ea15820 commit 45e15e1
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 74 deletions.
41 changes: 18 additions & 23 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM lsiobase/ubuntu:bionic as builder
FROM lsiobase/ubuntu:focal as builder

ARG GUACD_VERSION=1.0.0
ARG GUACD_VERSION=1.1.0

COPY /buildroot /

Expand All @@ -11,12 +11,12 @@ RUN \
autoconf \
automake \
checkinstall \
gcc-6 \
git \
curl \
freerdp2-dev \
gcc \
libavcodec-dev \
libavutil-dev \
libcairo2-dev \
libfreerdp-dev \
libjpeg-turbo8-dev \
libogg-dev \
libossp-uuid-dev \
Expand All @@ -35,17 +35,19 @@ RUN \

RUN \
echo "**** prep build ****" && \
mkdir /tmp/guacd && \
ln -sf /usr/bin/gcc-6 /usr/bin/gcc && \
git clone https://github.com/apache/guacamole-server.git /tmp/guacd && \
curl -o /tmp/guacd.tar.gz \
-L "https://downloads.apache.org/guacamole/${GUACD_VERSION}/source/guacamole-server-${GUACD_VERSION}.tar.gz" && \
tar -xf /tmp/guacd.tar.gz -C /tmp && \
mv /tmp/guacamole-server* /tmp/guacd && \
echo "**** build guacd ****" && \
cd /tmp/guacd && \
git checkout ${GUACD_VERSION} && \
autoreconf -fi && \
./configure --prefix=/usr && \
make -j 2 CC=gcc-6 && \
./configure \
--prefix=/usr \
--disable-guaclog && \
make -j 2 && \
mkdir -p /tmp/out && \
/bin/list-dependencies.sh \
/list-dependencies.sh \
"/tmp/guacd/src/guacd/.libs/guacd" \
$(find /tmp/guacd | grep "so$") \
> /tmp/out/DEPENDENCIES && \
Expand All @@ -57,18 +59,17 @@ RUN \
--pkgversion "${GUACD_VERSION}" \
--pakdir /tmp \
--exclude "/usr/share/man","/usr/include","/etc" && \
mkdir -p /tmp/out && \
mv \
/tmp/guacd_${GUACD_VERSION}-*.deb \
/tmp/out/guacd_${GUACD_VERSION}.deb

# runtime stage
FROM lsiobase/ubuntu:bionic
FROM lsiobase/ubuntu:focal

# set version label
ARG BUILD_DATE
ARG VERSION
ARG GUACD_VERSION=1.0.0
ARG GUACD_VERSION=1.1.0
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Thelamer"

Expand All @@ -80,20 +81,14 @@ RUN \
dpkg --path-include=/usr/share/doc/${PKG_NAME}/* \
-i /tmp/out/guacd_${GUACD_VERSION}.deb && \
apt-get update && \
apt-get install -qy --no-install-recommends \
apt-get install --no-install-recommends -y \
ca-certificates \
fonts-liberation \
fonts-dejavu \
ghostscript \
libcairo2 \
libfreerdp-plugins-standard \
xfonts-terminus && \
apt-get install -qy --no-install-recommends \
xfonts-terminus \
$(cat /tmp/out/DEPENDENCIES) && \
echo "**** clean up ****" && \
mv \
/usr/lib/freerdp/* \
/usr/lib/x86_64-linux-gnu/freerdp && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
Expand Down
43 changes: 19 additions & 24 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM lsiobase/ubuntu:arm64v8-bionic as builder
FROM lsiobase/ubuntu:arm64v8-focal as builder

ARG GUACD_VERSION=1.0.0
ARG GUACD_VERSION=1.1.0

COPY /buildroot /

Expand All @@ -11,12 +11,12 @@ RUN \
autoconf \
automake \
checkinstall \
gcc-6 \
git \
curl \
freerdp2-dev \
gcc \
libavcodec-dev \
libavutil-dev \
libcairo2-dev \
libfreerdp-dev \
libjpeg-turbo8-dev \
libogg-dev \
libossp-uuid-dev \
Expand All @@ -35,17 +35,19 @@ RUN \

RUN \
echo "**** prep build ****" && \
mkdir /tmp/guacd && \
ln -sf /usr/bin/gcc-6 /usr/bin/gcc && \
git clone https://github.com/apache/guacamole-server.git /tmp/guacd && \
curl -o /tmp/guacd.tar.gz \
-L "https://downloads.apache.org/guacamole/${GUACD_VERSION}/source/guacamole-server-${GUACD_VERSION}.tar.gz" && \
tar -xf /tmp/guacd.tar.gz -C /tmp && \
mv /tmp/guacamole-server* /tmp/guacd && \
echo "**** build guacd ****" && \
cd /tmp/guacd && \
git checkout ${GUACD_VERSION} && \
autoreconf -fi && \
./configure --prefix=/usr && \
make -j 2 CC=gcc-6 && \
./configure \
--prefix=/usr \
--disable-guaclog && \
make -j 2 && \
mkdir -p /tmp/out && \
/bin/list-dependencies.sh \
/list-dependencies.sh \
"/tmp/guacd/src/guacd/.libs/guacd" \
$(find /tmp/guacd | grep "so$") \
> /tmp/out/DEPENDENCIES && \
Expand All @@ -54,21 +56,20 @@ RUN \
-D \
--nodoc \
--pkgname guacd \
--pkgversion ${GUACD_VERSION} \
--pkgversion "${GUACD_VERSION}" \
--pakdir /tmp \
--exclude "/usr/share/man","/usr/include","/etc" && \
mkdir -p /tmp/out && \
mv \
/tmp/guacd_${GUACD_VERSION}-*.deb \
/tmp/out/guacd_${GUACD_VERSION}.deb

# runtime stage
FROM lsiobase/ubuntu:arm64v8-bionic
FROM lsiobase/ubuntu:arm64v8-focal

# set version label
ARG BUILD_DATE
ARG VERSION
ARG GUACD_VERSION=1.0.0
ARG GUACD_VERSION=1.1.0
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Thelamer"

Expand All @@ -80,20 +81,14 @@ RUN \
dpkg --path-include=/usr/share/doc/${PKG_NAME}/* \
-i /tmp/out/guacd_${GUACD_VERSION}.deb && \
apt-get update && \
apt-get install -qy --no-install-recommends \
apt-get install --no-install-recommends -y \
ca-certificates \
fonts-liberation \
fonts-dejavu \
ghostscript \
libcairo2 \
libfreerdp-plugins-standard \
xfonts-terminus && \
apt-get install -qy --no-install-recommends \
xfonts-terminus \
$(cat /tmp/out/DEPENDENCIES) && \
echo "**** clean up ****" && \
mv \
/usr/lib/freerdp/* \
/usr/lib/aarch64-linux-gnu/freerdp && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
Expand Down
43 changes: 19 additions & 24 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM lsiobase/ubuntu:arm32v7-bionic as builder
FROM lsiobase/ubuntu:arm32v7-focal as builder

ARG GUACD_VERSION=1.0.0
ARG GUACD_VERSION=1.1.0

COPY /buildroot /

Expand All @@ -11,12 +11,12 @@ RUN \
autoconf \
automake \
checkinstall \
gcc-6 \
git \
curl \
freerdp2-dev \
gcc \
libavcodec-dev \
libavutil-dev \
libcairo2-dev \
libfreerdp-dev \
libjpeg-turbo8-dev \
libogg-dev \
libossp-uuid-dev \
Expand All @@ -35,17 +35,19 @@ RUN \

RUN \
echo "**** prep build ****" && \
mkdir /tmp/guacd && \
ln -sf /usr/bin/gcc-6 /usr/bin/gcc && \
git clone https://github.com/apache/guacamole-server.git /tmp/guacd && \
curl -o /tmp/guacd.tar.gz \
-L "https://downloads.apache.org/guacamole/${GUACD_VERSION}/source/guacamole-server-${GUACD_VERSION}.tar.gz" && \
tar -xf /tmp/guacd.tar.gz -C /tmp && \
mv /tmp/guacamole-server* /tmp/guacd && \
echo "**** build guacd ****" && \
cd /tmp/guacd && \
git checkout ${GUACD_VERSION} && \
autoreconf -fi && \
./configure --prefix=/usr && \
make -j 2 CC=gcc-6 && \
./configure \
--prefix=/usr \
--disable-guaclog && \
make -j 2 && \
mkdir -p /tmp/out && \
/bin/list-dependencies.sh \
/list-dependencies.sh \
"/tmp/guacd/src/guacd/.libs/guacd" \
$(find /tmp/guacd | grep "so$") \
> /tmp/out/DEPENDENCIES && \
Expand All @@ -54,21 +56,20 @@ RUN \
-D \
--nodoc \
--pkgname guacd \
--pkgversion ${GUACD_VERSION} \
--pkgversion "${GUACD_VERSION}" \
--pakdir /tmp \
--exclude "/usr/share/man","/usr/include","/etc" && \
mkdir -p /tmp/out && \
mv \
/tmp/guacd_${GUACD_VERSION}-*.deb \
/tmp/out/guacd_${GUACD_VERSION}.deb

# runtime stage
FROM lsiobase/ubuntu:arm32v7-bionic
FROM lsiobase/ubuntu:arm32v7-focal

# set version label
ARG BUILD_DATE
ARG VERSION
ARG GUACD_VERSION=1.0.0
ARG GUACD_VERSION=1.1.0
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Thelamer"

Expand All @@ -80,20 +81,14 @@ RUN \
dpkg --path-include=/usr/share/doc/${PKG_NAME}/* \
-i /tmp/out/guacd_${GUACD_VERSION}.deb && \
apt-get update && \
apt-get install -qy --no-install-recommends \
apt-get install --no-install-recommends -y \
ca-certificates \
fonts-liberation \
fonts-dejavu \
ghostscript \
libcairo2 \
libfreerdp-plugins-standard \
xfonts-terminus && \
apt-get install -qy --no-install-recommends \
xfonts-terminus \
$(cat /tmp/out/DEPENDENCIES) && \
echo "**** clean up ****" && \
mv \
/usr/lib/freerdp/* \
/usr/lib/arm-linux-gnueabihf/freerdp && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: ''' echo 1.0.0 ''',
script: ''' echo 1.1.0 ''',
returnStdout: true).trim()
env.RELEASE_LINK = 'custom_command'
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **17.04.20:** - Bump back 1.1.0, rebase to focal
* **08.02.20:** - Bump to 1.1.0.
* **25.05.19:** - Initial Release.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
while [ -n "$1" ]; do

# For all non-Guacamole library dependencies
ldd "$1" | grep -v 'libguac' | awk '/=>/{print $(NF-1)}' \
ldd "$1" | grep -v 'libguac' | awk '{print $1}' \
| while read LIBRARY; do

# Determine the Debian package which is associated with that
Expand Down
2 changes: 1 addition & 1 deletion jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# jenkins variables
project_name: docker-guacd
external_type: na
custom_version_command: "echo 1.0.0"
custom_version_command: "echo 1.1.0"
release_type: stable
release_tag: latest
ls_branch: master
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "17.04.20:", desc: "Bump back 1.1.0, rebase to focal" }
- { date: "08.02.20:", desc: "Bump to 1.1.0." }
- { date: "25.05.19:", desc: "Initial Release." }

0 comments on commit 45e15e1

Please sign in to comment.