Skip to content

Commit 5e7efaf

Browse files
debugger golang-alt fix
Signed-off-by: Anton Fomichev <anton.fomichev@flant.com>
1 parent f840009 commit 5e7efaf

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

images/debugger/werf.inc.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ fromImage: builder/golang-alt
1414
shell:
1515
install:
1616
- |
17-
apt-get update && apt-get install --yes \
18-
musl-devel-static gcc golang git
19-
17+
rm -rf /var/lib/rpm/__db*
18+
apt-get update
19+
apt-get install --yes \
20+
musl-devel-static gcc
21+
2022
export CGO_ENABLED=0
2123
export GOOS=linux
22-
export GOARCH=amd64
24+
export GOARCH=amd64
2325
2426
mkdir -p /out
2527
git clone --depth=1 --branch v1.25.1 https://github.com/go-delve/delve.git /src

images/distroless/werf.inc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ fromImage: builder/golang-alt
2020
final: false
2121
shell:
2222
beforeInstall:
23+
- rm -rf /var/lib/rpm/__db*
2324
{{- include "alt packages proxy" . | nindent 2 }}
2425
- |
2526
apt-get install ca-certificates tzdata -y

0 commit comments

Comments
 (0)