We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ef5c134 + 89107b6 commit 326c2a5Copy full SHA for 326c2a5
Dockerfile
Makefile
@@ -18,4 +18,4 @@ lint:
18
19
.PHONY: image
20
image:
21
- ${CONTAINER_RUNTIME} build -t quay.io/crcont/routes-controller:$(TAG) .
+ ${CONTAINER_RUNTIME} build -t quay.io/crcont/routes-controller:$(TAG) -f images .
images/Dockerfile
@@ -0,0 +1,8 @@
1
+FROM registry.access.redhat.com/ubi8/go-toolset:1.14.12 AS build
2
+WORKDIR $APP_ROOT/src
3
+COPY . .
4
+RUN make
5
+
6
+FROM scratch
7
+COPY --from=build /opt/app-root/src/routes-controller .
8
+ENTRYPOINT ["/routes-controller"]
0 commit comments