Skip to content

Commit

Permalink
Merge pull request hacklcx#95 from soar1688/master
Browse files Browse the repository at this point in the history
update 0.6.3
  • Loading branch information
sanjinhub authored May 16, 2020
2 parents 54b9cda + c67b4bc commit c184ae9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions dockerfile/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM alpine:latest

ENV GLIBC_VERSION 2.29-r0
ENV HFISH_VERSION 0.6
ENV HFISH_VERSION 0.6.2
ENV HFISH_VERSION_NEW 0.6.3

# Download and install glibc
RUN apk update && \
Expand All @@ -16,7 +17,15 @@ RUN apk update && \
RUN curl -Lo /tmp/HFish.tar.gz https://github.com/hacklcx/HFish/releases/download/${HFISH_VERSION}/HFish-${HFISH_VERSION}-linux-amd64.tar.gz && \
tar -zxvf /tmp/HFish.tar.gz -C /tmp && \
mv /tmp/HFish-${HFISH_VERSION}-linux-amd64 /tmp/HFish && \
rm -f /tmp/HFish.tar.gz /tmp/HFish/LICENSE /tmp/HFish/README.md
rm -f /tmp/HFish.tar.gz /tmp/HFish/LICENSE && \
rm -f /tmp/HFish/HFish /tmp/HFish/static/data/js/data.js

RUN curl -Lo /tmp/HFish.tar.gz https://github.com/hacklcx/HFish/releases/download/${HFISH_VERSION_NEW}/HFish-${HFISH_VERSION_NEW}-linux-amd64.tar.gz && \
tar -zxvf /tmp/HFish.tar.gz -C /tmp && \
cp /tmp/HFish-${HFISH_VERSION_NEW}-linux-amd64/HFish /tmp/HFish/ && \
cp /tmp/HFish-${HFISH_VERSION_NEW}-linux-amd64/static/data/js/data.js /tmp/HFish/static/data/js/ && \
rm -rf /tmp/HFish-${HFISH_VERSION}-linux-amd64 && \
rm -f /tmp/HFish.tar.gz

COPY Entrypoint.sh /Entrypoint.sh

Expand Down

0 comments on commit c184ae9

Please sign in to comment.