mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-21 23:19:53 +00:00
fix(ubuntu-prod): Set suexec hash correctly (#2029)
This commit is contained in:
parent
c6946d561c
commit
b1ba29f9c7
@ -7,7 +7,7 @@ WORKDIR /build
|
|||||||
COPY tools/docker/fetch_release.sh /tmp/
|
COPY tools/docker/fetch_release.sh /tmp/
|
||||||
COPY releases/dragonfly-* /tmp/
|
COPY releases/dragonfly-* /tmp/
|
||||||
|
|
||||||
ARG SUEXEC_HASH d6c40440609a23483f12eb6295b5191e94baf08298a856bab6e15b10c3b82891
|
ARG SUEXEC_HASH=d6c40440609a23483f12eb6295b5191e94baf08298a856bab6e15b10c3b82891
|
||||||
RUN curl -O https://raw.githubusercontent.com/ncopa/su-exec/212b75144bbc06722fbd7661f651390dc47a43d1/su-exec.c && \
|
RUN curl -O https://raw.githubusercontent.com/ncopa/su-exec/212b75144bbc06722fbd7661f651390dc47a43d1/su-exec.c && \
|
||||||
if [ "$SUEXEC_HASH" != $(sha256sum su-exec.c | awk '{print $1}') ]; then echo "Wrong hash!" && exit 1; fi && \
|
if [ "$SUEXEC_HASH" != $(sha256sum su-exec.c | awk '{print $1}') ]; then echo "Wrong hash!" && exit 1; fi && \
|
||||||
gcc -Wall -O2 su-exec.c -o su-exec
|
gcc -Wall -O2 su-exec.c -o su-exec
|
||||||
|
Loading…
Reference in New Issue
Block a user