wapi-lib/Dockerfile.dev
ndiezel0 d1d440af58
TD-126: Add CI/CD (#3)
* Drop some unused macros and includes in tests code
* Remove `wapi_context` leftovers

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-02-07 10:49:35 +03:00

19 lines
376 B
Docker

ARG OTP_VERSION
FROM docker.io/library/erlang:${OTP_VERSION}
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