diff --git a/backend/Dockerfile b/backend/Dockerfile index a02f3a52..df8513fa 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20-alpine3.18 +FROM golang:1.23-alpine3.20 ENV XDG_CACHE_HOME='/tmp/.cache' @@ -8,7 +8,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"] RUN apk --no-cache add \ 'curl=~8' \ - 'gcc=~12' \ + 'gcc=~13' \ 'musl-dev=~1.2'; \ curl --silent --fail --location \ 'https://raw.githubusercontent.com/cosmtrek/air/v1.44.0/install.sh' | \ diff --git a/docker-compose.yml b/docker-compose.yml index 155b923a..528e6506 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,4 @@ --- -version: "3" services: diff --git a/node/Dockerfile b/node/Dockerfile index 35914850..eff552e2 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.3.0-alpine as build +FROM node:20.3.0-alpine AS build USER node RUN mkdir /home/node/app diff --git a/production/Dockerfile b/production/Dockerfile index 5313cbbd..72977914 100644 --- a/production/Dockerfile +++ b/production/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20-alpine as builder +FROM golang:1.23-alpine3.20 AS builder RUN addgroup -S urdr && getent group urdr >/tmp/group RUN adduser -S urdr && getent passwd urdr >/tmp/passwd @@ -8,7 +8,7 @@ WORKDIR /go COPY ./ . RUN apk --no-cache add \ - 'gcc=~12' \ + 'gcc=~13' \ 'musl-dev=~1.2' ENV GOPATH=$PWD diff --git a/production/docker-compose.yml b/production/docker-compose.yml index e45e5e3b..e04919be 100644 --- a/production/docker-compose.yml +++ b/production/docker-compose.yml @@ -1,5 +1,4 @@ --- -version: "3" services: