Skip to content

Commit 225cd45

Browse files
chore: dockerfiles update base go image (#2097)
* chore: use latest debian in dockerfiles * add test to trigger e2e tests
1 parent db681ad commit 225cd45

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

contrib/images/umee.e2e.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
FROM ghcr.io/umee-network/peggo:latest-1.4 as peggo
66

7-
FROM golang:1.20-bullseye AS builder
7+
FROM golang:1.20-bookworm AS builder
88
ARG EXPERIMENTAL=false
99

1010
## Download go module dependencies for umeed

contrib/images/umeed.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Stage-1: build
22
# We use Debian Bullseye rather then Alpine because Alpine has problem building libwasmvm
33
# - requires to download libwasmvm_muslc from external source. Build with glibc is straightforward.
4-
FROM golang:1.20-bullseye AS builder
4+
FROM golang:1.20-bookworm AS builder
55

66
WORKDIR /src/
77
# optimization: if go.sum didn't change, docker will use cached image

util/genmap/genmap_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ func TestPick(t *testing.T) {
2020
m2 = Pick(m, []string{"one", "three"})
2121
assert.DeepEqual(t, map[string]int{"one": 1, "three": 3}, m2)
2222

23+
m2 = Pick(m, []string{"one", "three", "two"})
24+
assert.DeepEqual(t, map[string]int{"one": 1, "two": 2, "three": 3}, m2)
25+
2326
m2 = Pick(m, []string{})
2427
assert.DeepEqual(t, map[string]int{}, m2)
2528

0 commit comments

Comments
 (0)