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