Skip to content

Commit

Permalink
Change from BCI Base to scratch (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
briandowns authored Mar 1, 2024
1 parent 9f647ad commit f0d1769
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
#ARG BCI_IMAGE=registry.suse.com/bci/bci-micro
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.7b3
FROM ${BCI_IMAGE} as bci
#FROM ${BCI_IMAGE} as bci
FROM ${GO_IMAGE} as builder
# setup required packages
RUN set -x && \
Expand Down Expand Up @@ -40,6 +40,6 @@ RUN if [ "${ARCH}" = "amd64" ]; then \
RUN install -s bin/* /usr/local/bin
RUN metrics-server --help

FROM bci
FROM scratch
COPY --from=builder /usr/local/bin/metrics-server /
ENTRYPOINT ["/metrics-server"]

0 comments on commit f0d1769

Please sign in to comment.