Skip to content

Commit

Permalink
Corrected 'standard' Dockerfiles for 17 & 18: added unixodbc library …
Browse files Browse the repository at this point in the history
…so erlang.odbc builds
  • Loading branch information
vovimayhem committed Nov 7, 2015
1 parent 17e25ac commit bdf84f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion 17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 - \
Expand Down
7 changes: 6 additions & 1 deletion 18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 - \
Expand Down

0 comments on commit bdf84f2

Please sign in to comment.