File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG BASE_IMAGE
2- # =registry.opensource.zalan.do/library/alpine-3.15:latest
32ARG VERSION=latest
43
54FROM ${BASE_IMAGE} as builder
@@ -21,13 +20,9 @@ LABEL maintainer="Opensource @ CYBERTEC <cpo-community@googlegroups.com>"
2120
2221# We need root certificates to deal with teams api over https
2322RUN ${PACKAGER} -y update && ${PACKAGER} -y install ca-certificates && ${PACKAGER} clean all;
24- # RUN apk --no-cache add ca-certificates
2523
2624COPY --from=builder /go/src/github.com/cybertec-postgresql/cybertec-pg-operator/build/* /
2725
28- # RUN addgroup -g 1000 pgo
29- # RUN adduser -D -u 1000 -G pgo -g 'Postgres Operator' pgo
30-
3126RUN groupadd -g 1000 cpo
3227RUN useradd cpo -u 1000 -g 1000
3328
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- export DEBIAN_FRONTEND=noninteractive
4-
53arch=$( dpkg --print-architecture)
64
75set -ex
86
97# Install dependencies
108
11- # apt-get update
12- # apt-get install -y wget
13-
149(
1510 cd /tmp
16- wget -q " https://go.dev/dl/go1.25.2 .linux-${arch} .tar.gz" -O go.tar.gz
11+ wget -q " https://go.dev/dl/go1.25.6 .linux-${arch} .tar.gz" -O go.tar.gz
1712 tar -xf go.tar.gz
1813 mv go /usr/local
1914 ln -s /usr/local/go/bin/go /usr/bin/go
You can’t perform that action at this time.
0 commit comments