mirror of
https://github.com/valitydev/fistful-server.git
synced 2024-11-06 02:35:18 +00:00
b2aec027fd
* TD-264: Move to accounter * Hadofix * Hadofix 2 * Review fixes * Review fix
20 lines
424 B
Docker
20 lines
424 B
Docker
ARG OTP_VERSION
|
|
|
|
FROM docker.io/library/erlang:${OTP_VERSION}
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
ARG BUILDARCH
|
|
|
|
# Install thrift compiler
|
|
ARG THRIFT_VERSION
|
|
|
|
RUN wget -q -O- "https://github.com/valitydev/thrift/releases/download/${THRIFT_VERSION}/thrift-${THRIFT_VERSION}-linux-${BUILDARCH}.tar.gz" \
|
|
| tar -xvz -C /usr/local/bin/
|
|
|
|
# Set env
|
|
ENV CHARSET=UTF-8
|
|
ENV LANG=C.UTF-8
|
|
|
|
# Set runtime
|
|
CMD ["/bin/bash"]
|