dockerfile for go 1.22
This commit is contained in:
parent
447bd14c19
commit
96e1294d5b
@ -1,7 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM alpine:latest AS deps
|
||||
RUN apk add --no-cache mariadb-dev sqlite-dev build-base go
|
||||
FROM golang:alpine AS deps
|
||||
RUN apk add --no-cache mariadb-dev sqlite-dev build-base gcc
|
||||
|
||||
FROM deps AS builder
|
||||
WORKDIR /app
|
||||
|
@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM alpine:latest AS deps
|
||||
RUN apk add --no-cache mariadb-dev sqlite-dev build-base go
|
||||
FROM golang:alpine AS deps
|
||||
RUN apk add --no-cache mariadb-dev sqlite-dev build-base
|
||||
|
||||
FROM deps AS builder
|
||||
WORKDIR /app
|
||||
|
Loading…
Reference in New Issue
Block a user