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

Upgrades elixir to 1.5.2 #3534

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Upgrades elixir to 1.5.2 #3534

merged 1 commit into from
Oct 3, 2017

Conversation

sdwolfz
Copy link
Contributor

@sdwolfz sdwolfz commented Oct 3, 2017

Please hold on to this PR and only merge after #3533 is merged and images are built, as @c0b requested in c0b/docker-elixir#42 (comment).

@tianon
Copy link
Member

tianon commented Oct 3, 2017

Diff:
diff --git a/_bashbrew-list b/_bashbrew-list
index 4a1333d..901d563 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -13,9 +13,9 @@ elixir:1.4.5-slim
 elixir:1.5
 elixir:1.5-alpine
 elixir:1.5-slim
-elixir:1.5.1
-elixir:1.5.1-alpine
-elixir:1.5.1-slim
+elixir:1.5.2
+elixir:1.5.2-alpine
+elixir:1.5.2-slim
 elixir:alpine
 elixir:latest
 elixir:slim
diff --git a/elixir_alpine/Dockerfile b/elixir_alpine/Dockerfile
index 259e068..d8d3865 100644
--- a/elixir_alpine/Dockerfile
+++ b/elixir_alpine/Dockerfile
@@ -1,12 +1,12 @@
 FROM erlang:20-alpine
 
 # elixir expects utf8.
-ENV ELIXIR_VERSION="v1.5.1" \
+ENV ELIXIR_VERSION="v1.5.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="84af6eb4cb68d0f60b3edf4e275eb024f8eb8cccae91b18c2bbbc4b70a88934f" \
+	&& ELIXIR_DOWNLOAD_SHA256="4ba8dd46998bee6cbcc2d9937776e241be82bc62d2b62b6235c310a44c87467e" \
 	&& buildDeps=' \
 		ca-certificates \
 		curl \
diff --git a/elixir_latest/Dockerfile b/elixir_latest/Dockerfile
index 396d82b..d2c8785 100644
--- a/elixir_latest/Dockerfile
+++ b/elixir_latest/Dockerfile
@@ -1,12 +1,12 @@
 FROM erlang:20
 
 # elixir expects utf8.
-ENV ELIXIR_VERSION="v1.5.1" \
+ENV ELIXIR_VERSION="v1.5.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="9a903dc71800c6ce8f4f4b84a1e4849e3433e68243958fd6413a144857b61f6a" \
+	&& ELIXIR_DOWNLOAD_SHA256="7317b7a9d3b5bef2b5cd56de738f2b37fd4111e24efbe71a3e39bea1b702ff6c" \
 	&& 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 05da2b2..4f5f2af 100644
--- a/elixir_slim/Dockerfile
+++ b/elixir_slim/Dockerfile
@@ -1,12 +1,12 @@
 FROM erlang:20-slim
 
 # elixir expects utf8.
-ENV ELIXIR_VERSION="v1.5.1" \
+ENV ELIXIR_VERSION="v1.5.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="84af6eb4cb68d0f60b3edf4e275eb024f8eb8cccae91b18c2bbbc4b70a88934f" \
+	&& ELIXIR_DOWNLOAD_SHA256="4ba8dd46998bee6cbcc2d9937776e241be82bc62d2b62b6235c310a44c87467e" \
 	&& buildDeps=' \
 		ca-certificates \
 		curl \

@tianon
Copy link
Member

tianon commented Oct 3, 2017

LGTM

Build test of #3534; 7ea0072 (elixir):

$ bashbrew build elixir:1.5.2
Building bashbrew/cache:0f657eda7416becf289c3ec799c2c5846c50492329975dfe5f2436df83ce0b66 (elixir:1.5.2)
Tagging elixir:1.5.2
Tagging elixir:1.5
Tagging elixir:latest

$ test/run.sh elixir:1.5.2
testing elixir:1.5.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.5.2-slim
Building bashbrew/cache:65d022e0b9cc197a8786033656672081dc20c35850fc49ecf0e61089d90d69e2 (elixir:1.5.2-slim)
Tagging elixir:1.5.2-slim
Tagging elixir:1.5-slim
Tagging elixir:slim

$ test/run.sh elixir:1.5.2-slim
testing elixir:1.5.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.5.2-alpine
Building bashbrew/cache:e53f545793b1f11d1027afaf37f62b89ee642bbb218e852a9195df981f43d300 (elixir:1.5.2-alpine)
Tagging elixir:1.5.2-alpine
Tagging elixir:1.5-alpine
Tagging elixir:alpine

$ test/run.sh elixir:1.5.2-alpine
testing elixir:1.5.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.4.5
Building bashbrew/cache:77164758d1cf5d5bd9b5cdd3309f2b03e8cb67647390a64226618c1384019319 (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
Building bashbrew/cache:a8704a802c60023e107377dfc37824f4f03bf2b1878f48b487800f61d63929a2 (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


$ bashbrew build elixir:1.3.4
Building bashbrew/cache:059e631736dae3e438bb6bd168aaf49c60541db3780ea66fcbb8b251efd08530 (elixir:1.3.4)
Tagging elixir:1.3.4
Tagging elixir:1.3

$ test/run.sh elixir:1.3.4
testing elixir:1.3.4
	'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.3.4-slim
Building bashbrew/cache:1a935d7bb9124bb16a43a812ddc44f3a710f953f83efc61107949b3a1f67b96b (elixir:1.3.4-slim)
Tagging elixir:1.3.4-slim
Tagging elixir:1.3-slim

$ test/run.sh elixir:1.3.4-slim
testing elixir:1.3.4-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.2.6
Building bashbrew/cache:0611006649d46306e5b1eaf6309ba06dd52c871ea8c24408c999c4ebdd974f31 (elixir:1.2.6)
Tagging elixir:1.2.6
Tagging elixir:1.2

$ test/run.sh elixir:1.2.6
testing elixir:1.2.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.2.6-slim
Building bashbrew/cache:86a8e59023664d1f55b72efb6947c2d5712911376765554f82a15650a705b065 (elixir:1.2.6-slim)
Tagging elixir:1.2.6-slim
Tagging elixir:1.2-slim

$ test/run.sh elixir:1.2.6-slim
testing elixir:1.2.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

@tianon tianon merged commit 55ec991 into docker-library:master Oct 3, 2017
@sdwolfz sdwolfz deleted the upgrade/elixir-1.5.2 branch October 3, 2017 21:42
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