Update Dockerfile

This commit is contained in:
Expand-sys 2021-07-20 10:43:32 +10:00 committed by GitHub
parent 50a0aeb0c3
commit a1acb6ff0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ WORKDIR /
RUN apk update && apk add git cmake g++ make protobuf jsoncpp-dev openssl libressl-dev zlib-dev util-linux-dev libtool autoconf automake python3
RUN git clone --recurse-submodules https://github.com/EntireTwix/CCash.git --branch Refractor
RUN git clone --recurse-submodules https://github.com/EntireTwix/CCash.git
WORKDIR /CCash/third_party/base64/
RUN AVX2_CFLAGS=-mavx2 SSSE3_CFLAGS=-mssse3 SSE41_CFLAGS=-msse4.1 SSE42_CFLAGS=-msse4.2 AVX_CFLAGS=-mavx make lib/libbase64.o
RUN mkdir /CCash/build
@ -17,4 +17,4 @@ ARG SAVE_FREQ=2
RUN ["chmod", "+x", "/CCash/config/ssl.sh"]
CMD ["sh", "-c", "/CCash/config/ssl.sh && /CCash/build/bank ${ADMIN_A} ${SAVE_FREQ}"]
CMD ["sh", "-c", "/CCash/config/ssl.sh && /CCash/build/bank ${ADMIN_A} ${SAVE_FREQ}"]