Update base image to version with Darwin detection
To provide a better (contributing) experience to those with Apple machines, as determining the correct paths there is a bit harder. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
0358ebc43d
commit
981d91e363
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ghcr.io/fluxcd/golang-with-libgit2:1.16.8-bullseye-libgit2-1.1.1 as build
|
FROM ghcr.io/fluxcd/golang-with-libgit2:1.16.8-bullseye-libgit2-1.1.1-1 as build
|
||||||
|
|
||||||
# Use the GitHub Actions uid:gid combination for proper fs permissions
|
# Use the GitHub Actions uid:gid combination for proper fs permissions
|
||||||
RUN groupadd -g 116 test && \
|
RUN groupadd -g 116 test && \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
ARG BASE_IMG=ghcr.io/fluxcd/golang-with-libgit2
|
ARG BASE_IMG=ghcr.io/fluxcd/golang-with-libgit2
|
||||||
ARG BASE_TAG=1.16.8-bullseye-libgit2-1.1.1
|
ARG BASE_TAG=1.16.8-bullseye-libgit2-1.1.1-1
|
||||||
FROM ${BASE_IMG}:${BASE_TAG} AS build
|
FROM ${BASE_IMG}:${BASE_TAG} AS build
|
||||||
|
|
||||||
# Configure workspace
|
# Configure workspace
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -4,7 +4,7 @@ TAG ?= latest
|
||||||
|
|
||||||
# Base image used to build the Go binary
|
# Base image used to build the Go binary
|
||||||
BASE_IMG ?= ghcr.io/fluxcd/golang-with-libgit2
|
BASE_IMG ?= ghcr.io/fluxcd/golang-with-libgit2
|
||||||
BASE_TAG ?= 1.16.8-bullseye-libgit2-1.1.1
|
BASE_TAG ?= 1.16.8-bullseye-libgit2-1.1.1-1
|
||||||
|
|
||||||
# Allows for defining additional Docker buildx arguments,
|
# Allows for defining additional Docker buildx arguments,
|
||||||
# e.g. '--push'.
|
# e.g. '--push'.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue