Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packages in base images during image build #364

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM registry.access.redhat.com/ubi8/go-toolset as builder

WORKDIR /go/src/app

COPY go.mod go.sum .
COPY go.mod go.sum ./
COPY internal/ internal/
COPY cmd/ cmd/
COPY main.go main.go
Expand All @@ -17,6 +17,8 @@ FROM registry.access.redhat.com/ubi8-minimal

ARG BUILD_COMMIT=unknown

RUN microdnf update -y

COPY --from=builder /go/src/app/app .
COPY schema /schema
COPY migrations /migrations
Expand Down
2 changes: 1 addition & 1 deletion event-streams/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV CONNECT_PLUGIN_PATH=/opt/kafka/plugins \

USER root

RUN microdnf install jq
RUN microdnf update -y && microdnf install jq

COPY event-streams/check-connectors.sh /
COPY examples/connector-local.json /
Expand Down
Loading