Skip to content

Commit

Permalink
updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebono1 authored May 29, 2023
1 parent 64e496c commit e141ecc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit e141ecc

Please sign in to comment.