mirror of
https://github.com/valitydev/limiter.git
synced 2024-11-06 09:05:17 +00:00
f577d1292a
* Switch to valitydev upstreams * valitydev/thrift_erlang@c280ff2 * valitydev/scoper@7f3183d * valitydev/genlib@82c5ff3 * valitydev/erlang-health@5958e2f * valitydev/damsel@1d60b20 * Drop how_are_you
18 lines
424 B
Docker
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"]
|