mirror of
https://github.com/valitydev/bouncer-client-erlang.git
synced 2024-11-06 00:25:18 +00:00
18 lines
377 B
Docker
18 lines
377 B
Docker
ARG OTP_VERSION
|
|
|
|
FROM docker.io/library/erlang:${OTP_VERSION}
|
|
|
|
# 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
|