Skip to content

Commit

Permalink
Dockerfile improvements
Browse files Browse the repository at this point in the history
- reduce image package size cleaning up temporary files kept for
  repositories.

closes: https://issues.redhat.com/browse/ECOPROJECT-1417

Signed-off-by: Carlo Lobrano <[email protected]>
  • Loading branch information
clobrano committed Jul 12, 2023
1 parent 3c22888 commit 275bc6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the manager binary
FROM quay.io/centos/centos:stream8 AS builder
RUN yum install golang -y
RUN yum install golang -y && yum clean all

# Ensure correct Go version
ENV GO_VERSION=1.20
Expand Down

0 comments on commit 275bc6f

Please sign in to comment.