Skip to content

Commit

Permalink
Merge pull request #28 from commitdev/fix-http-dockerfile
Browse files Browse the repository at this point in the history
Fix http build cache folder naming
  • Loading branch information
mihailistov committed Oct 13, 2019
2 parents 4772126 + e0e97ac commit 1d651f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/hello-world/docker/http/Dockerfile
Expand Up @@ -6,5 +6,5 @@ RUN go build -o hello-world-http http/main.go
FROM alpine
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
RUN apk update && apk add ca-certificates
COPY --from=build /cache/hello-world /app/
COPY --from=build /cache/hello-world-http /app/
ENTRYPOINT /app/hello-world-http
2 changes: 1 addition & 1 deletion templates/docker/dockerfile_http.tmpl
Expand Up @@ -6,5 +6,5 @@ RUN go build -o {{ .Name }}-http http/main.go
FROM alpine
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
RUN apk update && apk add ca-certificates
COPY --from=build /cache/{{ .Name }} /app/
COPY --from=build /cache/{{ .Name }}-http /app/
ENTRYPOINT /app/{{ .Name }}-http

0 comments on commit 1d651f1

Please sign in to comment.