Commit 1680db09 by Stephan van Ellewee

Added Makefile mods, Dockerfile for demo

1 parent ded7f094
Showing with 17 additions and 0 deletions
FROM golang:1.13.1
WORKDIR /gotty
COPY . /gotty
RUN CGO_ENABLED=0 make
FROM alpine:latest
RUN apk update && \
apk upgrade && \
apk --no-cache add ca-certificates && \
apk add bash
WORKDIR /root
COPY --from=0 /gotty/gotty /usr/bin/
CMD ["gotty", "-w", "bash"]
...@@ -78,3 +78,5 @@ shasums: ...@@ -78,3 +78,5 @@ shasums:
release: release:
ghr -c ${GIT_COMMIT} --delete --prerelease -u yudai -r gotty pre-release ${OUTPUT_DIR}/dist ghr -c ${GIT_COMMIT} --delete --prerelease -u yudai -r gotty pre-release ${OUTPUT_DIR}/dist
clean:
rm -fr gotty
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!