Skip to content

Commit

Permalink
Dockerfile no more master.zip from GitHub
Browse files Browse the repository at this point in the history
It seems Docker Hub builds somehow cache the master.zip from GitHub and don't update. Not really sure, but the Dockerfile is changed from wget master.zip to git shallow clone to see if it helps.
  • Loading branch information
xykonur authored Apr 29, 2019
1 parent a5f41d0 commit 5d07694
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,17 @@ COPY docker/60docker.conf /etc/gateone/conf.d/60docker.conf

#made transactional to clear up after compiling
RUN apk add --update --no-cache g++ linux-headers \
openssh-client openssl && \
openssh-client openssl git && \
pip install -r /tmp/requirements.txt && \
cd /gateone && \
wget https://github.com/xykonur/GateOne/archive/master.zip && \
unzip master.zip && \
rm -f master.zip && \
git clone --depth=1 https://github.com/xykonur/gateone.git GateOne-master && \
cd GateOne-master && \
python setup.py install && \
/usr/local/bin/gateone --configure \
--log_file_prefix="/gateone/logs/gateone.log" && \
cd /etc/gateone/ssl && \
rm -f key.pem certificate.pem && \
apk del g++ linux-headers && \
apk del g++ linux-headers git && \
rm -rf /gateone/GateOne-master

EXPOSE 8000
Expand Down

0 comments on commit 5d07694

Please sign in to comment.