token-keeper/Dockerfile.dev
Andrew Mayorov 8cc0d3036c
TD-222: Sync Dockerfiles w/ valitydev/erlang-templates (#25)
* Switch to valitydev/action-deploy-docker@v2
2022-07-08 17:57:15 +03:00

18 lines
424 B
Docker

ARG OTP_VERSION
FROM docker.io/library/erlang:${OTP_VERSION}
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install thrift compiler
ARG THRIFT_VERSION
ARG TARGETARCH
RUN wget -q -O- "https://github.com/valitydev/thrift/releases/download/${THRIFT_VERSION}/thrift-${THRIFT_VERSION}-linux-${TARGETARCH}.tar.gz" \
| tar -xvz -C /usr/local/bin/
# Set env
ENV CHARSET=UTF-8
ENV LANG=C.UTF-8
# Set runtime
CMD ["/bin/bash"]