mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +00:00
24 lines
475 B
Docker
24 lines
475 B
Docker
#FROM alpine:3.10.2
|
|
#
|
|
#RUN apk update && \
|
|
# apk upgrade && \
|
|
# apk --no-cache add curl jq file
|
|
|
|
# Changed from Alpine to Ubuntu because the keyring PR is linking to libc
|
|
# Alpine uses muslc instead of libc
|
|
|
|
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update && \
|
|
apt-get -y upgrade && \
|
|
apt-get -y install curl jq file
|
|
|
|
VOLUME [ /kvd ]
|
|
WORKDIR /kvd
|
|
EXPOSE 26656 26657
|
|
ENTRYPOINT ["/usr/bin/wrapper.sh"]
|
|
CMD ["start"]
|
|
STOPSIGNAL SIGTERM
|
|
|
|
COPY wrapper.sh /usr/bin/wrapper.sh
|