Skip to content

Commit

Permalink
Updated for 1.4.0
Browse files Browse the repository at this point in the history
Added line "export OPENSSL_CONF=/dev/null && \" otherwise it wouldn't compile.
Found out why here "bazelbuild/rules_closure#351"

Also VERSION variable was not working on the copy command. Added "ARG VERSION"
  • Loading branch information
zeclab authored Oct 10, 2022
1 parent fa9596b commit 7b39b84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:latest as stage1
LABEL maintainer="John Burt"

ENV DEBIAN_FRONTEND=noninteractive
ARG VERSION=1.3.0
ARG VERSION=1.4.0

RUN \
echo "**** install packages ****" && \
Expand All @@ -11,13 +11,15 @@ RUN \
wget http://archive.apache.org/dist/guacamole/${VERSION}/source/guacamole-client-${VERSION}.tar.gz && \
tar -xzf guacamole-client-${VERSION}.tar.gz && \
cd guacamole-client-${VERSION}/ && \
export OPENSSL_CONF=/dev/null && \
export JAVA_HOME=$(realpath /usr/bin/javadoc | sed 's@bin/javadoc$@@') && \
mvn clean package -Plgpl-extensions && \
echo $PWD


FROM alpine:latest
ARG VERSION

COPY --from=stage1 /guacamole-client-${VERSION}/extensions/guacamole-auth-radius/target/guacamole-auth-radius-${VERSION}.jar /guacamole-auth-radius-${VERSION}.jar

ENTRYPOINT ["/bin/sh"]
ENTRYPOINT ["/bin/sh"]

0 comments on commit 7b39b84

Please sign in to comment.