From 61a4519cb57848d337e844a136474119b8a460eb Mon Sep 17 00:00:00 2001 From: Alex Vorona Date: Mon, 1 Jun 2020 23:24:28 +0300 Subject: [PATCH 1/2] Use absolute path at entrypoint --- scripts/docker/alpine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker/alpine/Dockerfile b/scripts/docker/alpine/Dockerfile index c2b3229ae89..d90c266469d 100644 --- a/scripts/docker/alpine/Dockerfile +++ b/scripts/docker/alpine/Dockerfile @@ -45,4 +45,4 @@ WORKDIR /home/openethereum RUN mkdir -p /home/openethereum/.local/share/io.parity.ethereum/ COPY --chown=openethereum:openethereum --from=builder /openethereum/target/x86_64-alpine-linux-musl/release/openethereum ./ -ENTRYPOINT ["./openethereum"] +ENTRYPOINT ["/home/openethereum/openethereum"] From 6ce0f53bd4fe85cf9e41487eddbb0343ffcfd0d3 Mon Sep 17 00:00:00 2001 From: Alex Vorona Date: Tue, 2 Jun 2020 10:03:50 +0300 Subject: [PATCH 2/2] Add jq to keep parity image backward compatibility --- scripts/docker/alpine/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/docker/alpine/Dockerfile b/scripts/docker/alpine/Dockerfile index d90c266469d..cedc8236708 100644 --- a/scripts/docker/alpine/Dockerfile +++ b/scripts/docker/alpine/Dockerfile @@ -26,12 +26,13 @@ FROM alpine:edge # show backtraces ENV RUST_BACKTRACE 1 -# curl is installed to help create health and readiness checks on Kubernetes +# curl and jq are installed to help create health and readiness checks on Kubernetes RUN apk add --no-cache \ libstdc++ \ eudev-libs \ libgcc \ - curl + curl \ + jq RUN addgroup -g 1000 openethereum \ && adduser -u 1000 -G openethereum -s /bin/sh -D openethereum