From f001a0472ad798563d83ac3cce00dafd0b6e1c11 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Mon, 6 May 2024 16:09:12 +0200 Subject: [PATCH] update to go1.22 --- Dockerfile | 4 ++-- go.mod | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c6eac3..c33b9e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20-alpine AS dev +FROM golang:1.22-alpine AS dev COPY . /var/app WORKDIR /var/app @@ -27,4 +27,4 @@ COPY --from=build /var/app/views /var/app/views EXPOSE 80 ENTRYPOINT ["/var/app/go-urlsh"] -CMD "" \ No newline at end of file +CMD "" diff --git a/go.mod b/go.mod index b76bf60..ae9e63b 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module code.lila.network/adoralaura/go-urlsh go 1.22 -toolchain go1.22.2 - require ( github.com/gofiber/fiber/v2 v2.52.4 github.com/gofiber/template/html/v2 v2.1.1