mirror of
https://github.com/tornadocash/rpc-nodes
synced 2024-02-02 14:53:56 +01:00
26 lines
569 B
Docker
26 lines
569 B
Docker
ARG DOCKER_TAG
|
|
|
|
FROM 0xpolygon/heimdall:${DOCKER_TAG}
|
|
|
|
RUN apk update && apk add ca-certificates bash tzdata wget su-exec aria2 curl
|
|
|
|
ARG USER=heimdall
|
|
ARG UID=10000
|
|
|
|
# See https://stackoverflow.com/a/55757473/12429735RUN
|
|
RUN adduser \
|
|
--disabled-password \
|
|
--gecos "" \
|
|
--shell "/sbin/nologin" \
|
|
--uid "${UID}" \
|
|
"${USER}"
|
|
|
|
RUN mkdir -p /var/lib/heimdall && chown ${USER}:${USER} /var/lib/heimdall
|
|
|
|
WORKDIR /var/lib/heimdall
|
|
|
|
COPY ./docker-entrypoint-heimdalld.sh /usr/local/bin/docker-entrypoint.sh
|
|
|
|
USER ${USER}
|
|
|
|
CMD [ "/bin/sh", "-c", "# (nop)" |