Skip to content

Commit

Permalink
Merge pull request #81 from vshn/docker-appcat-cli
Browse files Browse the repository at this point in the history
Include appcat-cli in container image
  • Loading branch information
mhutter authored Aug 10, 2023
2 parents 71e85e5 + 2c12777 commit ddfcc5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Dockerfile
.dockerignore
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Build
FROM golang:latest AS build

ENV HOME=/k8ify

WORKDIR ${HOME}

COPY . ${HOME}
FROM docker.io/library/golang:latest AS build

WORKDIR /src
COPY . .
RUN make test && make build

FROM ghcr.io/vshn/appcat-cli:latest AS appcat-cli
# Runtime
FROM docker.io/appuio/oc:v4.13

COPY --from=build k8ify /bin/
COPY --from=appcat-cli /bin/appcat-cli /bin/appcat-cli
COPY --from=build /src/k8ify /bin/k8ify

0 comments on commit ddfcc5a

Please sign in to comment.