Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 2d75036

Browse files
voronAlex Vorona
andauthored
Fix alpine docker image entry point (#11749)
* Use absolute path at entrypoint * Add jq to keep parity image backward compatibility Co-authored-by: Alex Vorona <av@dysnix.com>
1 parent 1165549 commit 2d75036

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/docker/alpine/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ FROM alpine:edge
2626
# show backtraces
2727
ENV RUST_BACKTRACE 1
2828

29-
# curl is installed to help create health and readiness checks on Kubernetes
29+
# curl and jq are installed to help create health and readiness checks on Kubernetes
3030
RUN apk add --no-cache \
3131
libstdc++ \
3232
eudev-libs \
3333
libgcc \
34-
curl
34+
curl \
35+
jq
3536

3637
RUN addgroup -g 1000 openethereum \
3738
&& adduser -u 1000 -G openethereum -s /bin/sh -D openethereum
@@ -45,4 +46,4 @@ WORKDIR /home/openethereum
4546
RUN mkdir -p /home/openethereum/.local/share/io.parity.ethereum/
4647
COPY --chown=openethereum:openethereum --from=builder /openethereum/target/x86_64-alpine-linux-musl/release/openethereum ./
4748

48-
ENTRYPOINT ["./openethereum"]
49+
ENTRYPOINT ["/home/openethereum/openethereum"]

0 commit comments

Comments
 (0)