Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit 17ce7c2

Browse files
committed
switched back from alpine
1 parent 4324655 commit 17ce7c2

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

docker/dockerfile_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ def operator_params():
1313
def test_runner_params():
1414
return {
1515
"builder": True,
16-
"builder_image": "golang:alpine",
16+
"builder_image": "golang", # TODO: make this image smaller. There were errors using alpine
1717
"base_image": "registry.access.redhat.com/ubi8/ubi-minimal:latest",
1818
}
1919

2020

2121
def e2e_params():
2222
return {
23-
"base_image": "golang:alpine",
23+
"base_image": "golang", # TODO: make this image smaller, error: 'exec: "gcc": executable file not found in $PATH' with golang:alpine
2424
}
2525

2626

docker/templates/Dockerfile.testrunner

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{% extends "Dockerfile.template" %}
22

3-
{% block packages -%}
4-
RUN apk add --update curl
5-
{% endblock -%}
6-
73
{% block build_binary -%}
84
RUN go build cmd/testrunner/main.go
95
{% endblock -%}
106

117
{% block build_second_stage -%}
12-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
8+
FROM {{base_image}}
139

1410
# copy the testrunner binary
1511
COPY --from=builder /go/main runner

0 commit comments

Comments
 (0)