aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorRon Evans <[email protected]>2019-09-09 09:37:43 +0200
committerRon Evans <[email protected]>2019-09-09 09:37:43 +0200
commit1dbfc976e840b36451004f26de418f6063e02f94 (patch)
treeb51c02d5902c85d46778a78902634be1719c8c58 /Dockerfile
parente26f0b35e3b77a7610f9d7c8e4096cc6a522ddad (diff)
downloadtinygo-1dbfc976e840b36451004f26de418f6063e02f94.tar.gz
tinygo-1dbfc976e840b36451004f26de418f6063e02f94.zip
docker: use Go 1.12 base Docker image for compatibility
Signed-off-by: Ron Evans <[email protected]>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 3fd031b70..f1071087d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
-# TinyGo base stage just installs LLVM 8 and the TinyGo compiler itself.
-FROM golang:latest AS tinygo-base
+# TinyGo base stage installs Go 1.12, LLVM 8 and the TinyGo compiler itself.
+FROM golang:1.12 AS tinygo-base
RUN wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && \
echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" >> /etc/apt/sources.list && \