This commit is contained in:
root 2020-03-03 10:35:22 -05:00
parent ed929c126b
commit 563f6074a6
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:latest FROM alpine:latest
ENV GLIBC_VERSION 2.29-r0 ENV GLIBC_VERSION 2.29-r0
ENV HFISH_VERSION 0.5 ENV HFISH_VERSION 0.5.1
# Download and install glibc # Download and install glibc
RUN apk update && \ RUN apk update && \

View File

@ -4,6 +4,7 @@ HFISH_DIR=/opt/HFish
if [ ! -d $HFISH_DIR ];then if [ ! -d $HFISH_DIR ];then
mv /tmp/HFish $HFISH_DIR mv /tmp/HFish $HFISH_DIR
sed -i "2s/status = 0/status = 1/" $HFISH_DIR/config.ini
fi fi
if [ ! -z "$CLUSTER_IP" ];then if [ ! -z "$CLUSTER_IP" ];then