Commit cb37222d authored by Derek's avatar Derek Committed by Derek

OTP_VERSION 18.1.3 and force pull image

parent 33881823
......@@ -20,7 +20,7 @@ before_script:
- image="$(awk '$1 == "FROM" { print $2; exit }' onbuild/Dockerfile)${VARIANT:+-$VARIANT}"
script:
- docker build -t "$image" "${VARIANT:-.}"
- docker build --pull -t "$image" "${VARIANT:-.}"
- ~/official-images/test/run.sh "$image"
# the "onbuild" variant has to happen with the base variant because it's FROM it
- true && [ "$VARIANT" ] || docker build -t "${image}-onbuild" onbuild
......
FROM buildpack-deps:jessie
ENV OTP_VERSION 18.1.2
ENV OTP_VERSION 18.1.3
ENV LANG C.UTF-8
RUN set -xe \
&& OTP_DOWNLOAD_URL=https://github.com/erlang/otp/archive/OTP-$OTP_VERSION.tar.gz \
&& OTP_DOWNLOAD_SHA1=eb457a857bd43bc0ede95bdddb3e4f3593ab7376 \
&& OTP_DOWNLOAD_SHA1=981e6c03c0a310483e6c14edb7dd2acaa842e2f8 \
&& curl -SL $OTP_DOWNLOAD_URL -o otp-src.tar.gz \
&& echo "$OTP_DOWNLOAD_SHA1 otp-src.tar.gz" | sha1sum -c - \
&& mkdir -p /usr/src/otp-src \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment