Skip to content

Commit

Permalink
Update GO
Browse files Browse the repository at this point in the history
  • Loading branch information
bbedward committed Jun 27, 2024
1 parent de7cb58 commit e72e7d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ FROM appditto/libvips:latest as builder

WORKDIR /root

# Update GO
# Install GOLang
RUN apt-get update && apt-get install -y wget \
&& wget -c https://dl.google.com/go/go1.22.linux-${TARGETARCH}.tar.gz -O - | tar -xz -C /usr/local \
&& rm -rf go1.22.linux-${TARGETARCH}.tar.gz \
&& rm -rf /var/lib/apt/lists/*
ENV PATH="/usr/local/go/bin:${PATH}"

# add source code
ADD . .
# add assets
Expand Down
2 changes: 1 addition & 1 deletion server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/appditto/natricon/server

go 1.19
go 1.22

require (
github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b
Expand Down

0 comments on commit e72e7d0

Please sign in to comment.