diff --git a/17/Dockerfile b/17/Dockerfile index b2b987d5..dbe23036 100644 --- a/17/Dockerfile +++ b/17/Dockerfile @@ -4,7 +4,12 @@ ENV OTP_VERSION 17.5.6.4 ENV OTP_DOWNLOAD_SHA1 8436bbc750dc90580842e907f911255228d2d070 ENV LANG C.UTF-8 -RUN set -xe \ +# We'll install the build dependencies for erlang-odbc along with the erlang +# build process: +RUN buildDeps='unixodbc-dev' \ + && set -xe \ + && apt-get update \ + && apt-get install -y --no-install-recommends $buildDeps \ && mkdir -p /usr/src/otp-src \ && curl -fSL -o otp-src.tar.gz "https://github.com/erlang/otp/archive/OTP-$OTP_VERSION.tar.gz" \ && echo "$OTP_DOWNLOAD_SHA1 otp-src.tar.gz" | sha1sum -c - \ diff --git a/18/Dockerfile b/18/Dockerfile index 4f7701b5..97ba9c14 100644 --- a/18/Dockerfile +++ b/18/Dockerfile @@ -4,7 +4,12 @@ ENV OTP_VERSION 18.1.3 ENV OTP_DOWNLOAD_SHA1 981e6c03c0a310483e6c14edb7dd2acaa842e2f8 ENV LANG C.UTF-8 -RUN set -xe \ +# We'll install the build dependencies for erlang-odbc along with the erlang +# build process: +RUN buildDeps='unixodbc-dev' \ + && set -xe \ + && apt-get update \ + && apt-get install -y --no-install-recommends $buildDeps \ && mkdir -p /usr/src/otp-src \ && curl -fSL -o otp-src.tar.gz "https://github.com/erlang/otp/archive/OTP-$OTP_VERSION.tar.gz" \ && echo "$OTP_DOWNLOAD_SHA1 otp-src.tar.gz" | sha1sum -c - \