From e141eccda4cf84e4b5261310238ffb65928b7570 Mon Sep 17 00:00:00 2001 From: davidebono1 <34795685+davidebono1@users.noreply.github.com> Date: Mon, 29 May 2023 16:38:07 +0200 Subject: [PATCH] updated dockerfile --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 329c419..0811f7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,16 @@ FROM ghcr.io/hiway-media/deb-imagemagick-libvips:latest # -ENV GOLANG_VERSION 1.19.9 - -ENV url='https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz' - +ENV url='https://dl.google.com/go/go1.19.9.linux-amd64.tar.gz' RUN apt-get update RUN apt-get install wget RUN wget ${url} -RUN tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz +RUN tar -C /usr/local -xzf go1.19.9.linux-amd64.tar.gz -RUN rm -rf go${GOLANG_VERSION}.linux-amd64.tar.gz +RUN rm -rf go1.19.9.linux-amd64.tar.gz RUN export PATH=$PATH:/usr/local/go/bin