diff --git a/Dockerfile b/Dockerfile index 22aac3e..ec132fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ RUN adduser --disabled-password --gecos "" --no-create-home --uid 1000 cronos RUN mkdir -p /home/cronos/data && mkdir -p /home/cronos/config RUN apt-get update -y && apt-get install wget curl procps net-tools jq lz4 -y -RUN cd /home/cronos && wget --no-check-certificate https://github.com/crypto-org-chain/cronos/releases/download/v1.4.0/cronos_1.4.0_Linux_x86_64.tar.gz && tar -xvf cronos_1.4.0_Linux_x86_64.tar.gz \ - && rm cronos_1.4.0_Linux_x86_64.tar.gz +RUN cd /home/cronos && wget --no-check-certificate https://github.com/crypto-org-chain/cronos/releases/download/v1.4.1/cronos_1.4.1_Linux_x86_64.tar.gz && tar -xvf cronos_1.4.1_Linux_x86_64.tar.gz \ + && rm cronos_1.4.1_Linux_x86_64.tar.gz RUN chown -R cronos:cronos /home/cronos -USER cronos +USER root ENTRYPOINT ["/home/cronos/bin/cronosd"]