Skip to content

Commit

Permalink
Update pora Dockerfile to actually compile pora
Browse files Browse the repository at this point in the history
Signed-off-by: Amelia Downs <amelia.downs@broadcom.com>
  • Loading branch information
winkingturtle-vmw authored and ctlong committed Sep 5, 2024
1 parent 9f956f1 commit 2a1e796
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions assets/pora/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
FROM golang:onbuild
ENV PORT 80
EXPOSE 80
FROM golang as pora
WORKDIR /go/src/app
COPY * .
RUN go build -o /pora /go/src/app/server.go

FROM ubuntu
LABEL org.cloudfoundry.garden-rootfs.dockerfile.url="https://github.com/cloudfoundry/cf-acceptance-tests/blob/main/assets/pora/Dockerfile"
LABEL org.cloudfoundry.garden-rootfs.notes.md="Used by code.cloudfoundry.org/cf-volume-services-acceptance-tests\
"
COPY --from=pora /pora /usr/local/bin/pora
ENTRYPOINT /usr/local/bin/pora
ENV PORT=8080
EXPOSE 8080

0 comments on commit 2a1e796

Please # to comment.