Skip to content

Commit f2eee21

Browse files
committed
Cleanup and Go-Update
1 parent 8560531 commit f2eee21

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

docker/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
ARG BASE_IMAGE
2-
#=registry.opensource.zalan.do/library/alpine-3.15:latest
32
ARG VERSION=latest
43

54
FROM ${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
2322
RUN ${PACKAGER} -y update && ${PACKAGER} -y install ca-certificates && ${PACKAGER} clean all;
24-
#RUN apk --no-cache add ca-certificates
2523

2624
COPY --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-
3126
RUN groupadd -g 1000 cpo
3227
RUN useradd cpo -u 1000 -g 1000
3328

docker/build_operator.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
#!/bin/bash
22

3-
export DEBIAN_FRONTEND=noninteractive
4-
53
arch=$(dpkg --print-architecture)
64

75
set -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

0 commit comments

Comments
 (0)