Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Elixir to 1.7.2 #4705

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Conversation

KronicDeth
Copy link
Contributor

@tianon
Copy link
Member

tianon commented Aug 8, 2018

FYI @c0b

Diff:
diff --git a/_bashbrew-list b/_bashbrew-list
index e28059b..82740d6 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -21,9 +21,9 @@ elixir:1.6.6-slim
 elixir:1.7
 elixir:1.7-alpine
 elixir:1.7-slim
-elixir:1.7.1
-elixir:1.7.1-alpine
-elixir:1.7.1-slim
+elixir:1.7.2
+elixir:1.7.2-alpine
+elixir:1.7.2-slim
 elixir:alpine
 elixir:latest
 elixir:slim
diff --git a/elixir_1.6-otp-21-alpine/Dockerfile b/elixir_1.6-otp-21-alpine/Dockerfile
index 6126ba9..659a306 100644
--- a/elixir_1.6-otp-21-alpine/Dockerfile
+++ b/elixir_1.6-otp-21-alpine/Dockerfile
@@ -4,7 +4,7 @@ FROM erlang:21-alpine
 ENV ELIXIR_VERSION="v1.6.6" \
 	LANG=C.UTF-8
 
-# the OTP_VERSION is env set from erlang images, has values like `21.1.3`
+# the OTP_VERSION is env set from erlang images, has values like `21.0.3`
 RUN set -xe \
 	&& OTP_MAJOR_VERSION="${OTP_VERSION%%.*}" \
 	&& ELIXIR_DOWNLOAD_URL="https://repo.hex.pm/builds/elixir/${ELIXIR_VERSION}-otp-${OTP_MAJOR_VERSION}.zip" \
diff --git a/elixir_alpine/Dockerfile b/elixir_alpine/Dockerfile
index f0392ce..af31477 100644
--- a/elixir_alpine/Dockerfile
+++ b/elixir_alpine/Dockerfile
@@ -1,12 +1,12 @@
 FROM erlang:21-alpine
 
 # elixir expects utf8.
-ENV ELIXIR_VERSION="v1.7.1" \
+ENV ELIXIR_VERSION="v1.7.2" \
 	LANG=C.UTF-8
 
 RUN set -xe \
 	&& ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/releases/download/${ELIXIR_VERSION}/Precompiled.zip" \
-	&& ELIXIR_DOWNLOAD_SHA256="e00cbab4e8764ac3624c039b1c45cdc46131c8a76e185d7fd64a827ef59ad3a0" \
+	&& ELIXIR_DOWNLOAD_SHA256="d39c0fcdd2053f0ae2a9b1394ee582ac3398d9538881024f2252688ad92aad86" \
 	&& buildDeps=' \
 		ca-certificates \
 		curl \
diff --git a/elixir_latest/Dockerfile b/elixir_latest/Dockerfile
index 4be775e..cfd033c 100644
--- a/elixir_latest/Dockerfile
+++ b/elixir_latest/Dockerfile
@@ -1,12 +1,12 @@
 FROM erlang:21
 
 # elixir expects utf8.
-ENV ELIXIR_VERSION="v1.7.1" \
+ENV ELIXIR_VERSION="v1.7.2" \
 	LANG=C.UTF-8
 
 RUN set -xe \
 	&& ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/${ELIXIR_VERSION#*@}.tar.gz" \
-	&& ELIXIR_DOWNLOAD_SHA256="527af54775401cc5074ea698b9b6a6d67c5103056d2949638c101bc6f233e954" \
+	&& ELIXIR_DOWNLOAD_SHA256="3258eca6b5caa5e98b67dd033f9eb1b0b7ecbdb7b0f07c111b704700962e64cc" \
 	&& curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL \
 	&& echo "$ELIXIR_DOWNLOAD_SHA256  elixir-src.tar.gz" | sha256sum -c - \
 	&& mkdir -p /usr/local/src/elixir \
diff --git a/elixir_slim/Dockerfile b/elixir_slim/Dockerfile
index a8f40a6..b0b7a03 100644
--- a/elixir_slim/Dockerfile
+++ b/elixir_slim/Dockerfile
@@ -1,12 +1,12 @@
 FROM erlang:21-slim
 
 # elixir expects utf8.
-ENV ELIXIR_VERSION="v1.7.1" \
+ENV ELIXIR_VERSION="v1.7.2" \
 	LANG=C.UTF-8
 
 RUN set -xe \
 	&& ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/releases/download/${ELIXIR_VERSION}/Precompiled.zip" \
-	&& ELIXIR_DOWNLOAD_SHA256="e00cbab4e8764ac3624c039b1c45cdc46131c8a76e185d7fd64a827ef59ad3a0" \
+	&& ELIXIR_DOWNLOAD_SHA256="d39c0fcdd2053f0ae2a9b1394ee582ac3398d9538881024f2252688ad92aad86" \
 	&& buildDeps=' \
 		ca-certificates \
 		curl \

@tianon
Copy link
Member

tianon commented Aug 8, 2018

LGTM

Build test of #4705; ac4743d; amd64 (elixir):

$ bashbrew build elixir:1.7.2
Building bashbrew/cache:c8b9fec4cb555742bd8518a4981f3535e843509adaed2abe07b346b939cc075c (elixir:1.7.2)
Tagging elixir:1.7.2
Tagging elixir:1.7
Tagging elixir:latest

$ test/run.sh elixir:1.7.2
testing elixir:1.7.2
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.7.2-slim
Building bashbrew/cache:6a6cf1cfc8c14ebdd7b54593fd21717b3f2382e6314ce91cc511da572153a7da (elixir:1.7.2-slim)
Tagging elixir:1.7.2-slim
Tagging elixir:1.7-slim
Tagging elixir:slim

$ test/run.sh elixir:1.7.2-slim
testing elixir:1.7.2-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.7.2-alpine
Building bashbrew/cache:435fe813fc061b94a747a6773106696f54b3effb3952e5ec426e0ba6e7ab355e (elixir:1.7.2-alpine)
Tagging elixir:1.7.2-alpine
Tagging elixir:1.7-alpine
Tagging elixir:alpine

$ test/run.sh elixir:1.7.2-alpine
testing elixir:1.7.2-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.6.6
Building bashbrew/cache:98cb71b747f18e70c8b88e3beb8221630765a1880e8b94982a8d1710ea1dba92 (elixir:1.6.6)
Tagging elixir:1.6.6
Tagging elixir:1.6

$ test/run.sh elixir:1.6.6
testing elixir:1.6.6
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.6.6-slim
Building bashbrew/cache:64b1790298a65429658fa39d8ad2786d5a1237531d2a7a06c708132ab5345b11 (elixir:1.6.6-slim)
Tagging elixir:1.6.6-slim
Tagging elixir:1.6-slim

$ test/run.sh elixir:1.6.6-slim
testing elixir:1.6.6-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.6.6-alpine
Building bashbrew/cache:95183c8fe43d1cd5e83aab97b97a4ce10ce71026738d13c77573c3feb4289334 (elixir:1.6.6-alpine)
Tagging elixir:1.6.6-alpine
Tagging elixir:1.6-alpine

$ test/run.sh elixir:1.6.6-alpine
testing elixir:1.6.6-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.6.6-otp-21
Building bashbrew/cache:46b3356ba6cb74784ffe06c369b0bed20b700f0fb9fae00f5d72c9fe8b30d049 (elixir:1.6.6-otp-21)
Tagging elixir:1.6.6-otp-21
Tagging elixir:1.6-otp-21

$ test/run.sh elixir:1.6.6-otp-21
testing elixir:1.6.6-otp-21
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.6.6-otp-21-alpine
Building bashbrew/cache:be145b181c5d2613c1c850bd186bf953ad10df3de5d5ab4a652b33d7aaf01d2e (elixir:1.6.6-otp-21-alpine)
Tagging elixir:1.6.6-otp-21-alpine
Tagging elixir:1.6-otp-21-alpine

$ test/run.sh elixir:1.6.6-otp-21-alpine
testing elixir:1.6.6-otp-21-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.5.3
Building bashbrew/cache:ac6f8f2dc110ca57a5e4092940ac37eae6fd571afeb9de5ad8166f807ab5b09d (elixir:1.5.3)
Tagging elixir:1.5.3
Tagging elixir:1.5

$ test/run.sh elixir:1.5.3
testing elixir:1.5.3
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.5.3-slim
Building bashbrew/cache:71a7c310b41f64d0b1afe465b6285102b2f81b742bdc1dd0ddd4587685efdeb3 (elixir:1.5.3-slim)
Tagging elixir:1.5.3-slim
Tagging elixir:1.5-slim

$ test/run.sh elixir:1.5.3-slim
testing elixir:1.5.3-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.5.3-alpine
Building bashbrew/cache:b63ebf0de0a917b7bc2b35e995206e3a9c3ad719c0c36ed09fef99655cc95fbc (elixir:1.5.3-alpine)
Tagging elixir:1.5.3-alpine
Tagging elixir:1.5-alpine

$ test/run.sh elixir:1.5.3-alpine
testing elixir:1.5.3-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.4.5
Using bashbrew/cache:d7492bfe303cd9c551ce9a2156ed6cfee7dd961aec65c06574725922efe39871 (elixir:1.4.5)
Tagging elixir:1.4.5
Tagging elixir:1.4

$ test/run.sh elixir:1.4.5
testing elixir:1.4.5
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed


$ bashbrew build elixir:1.4.5-slim
Using bashbrew/cache:2f93db4318d18020ed86579cc9e5fce4ce5ea2bc6f55c4820486400afc01cd93 (elixir:1.4.5-slim)
Tagging elixir:1.4.5-slim
Tagging elixir:1.4-slim

$ test/run.sh elixir:1.4.5-slim
testing elixir:1.4.5-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'elixir-hello-world' [5/5]...passed

@tianon tianon merged commit 8bc7c22 into docker-library:master Aug 8, 2018
@KronicDeth KronicDeth deleted the elixir-1.7.2 branch August 9, 2018 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants