Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Commit

Permalink
docker please work ;w;
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Feb 27, 2022
1 parent 2aa2ed0 commit 56473b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

FROM alpine:3.15

RUN apk update && apk add --no-cache bash musl-dev libc-dev gcompat

WORKDIR /app
COPY miku .
COPY miku /app/miku
USER 1001
ENTRYPOINT ["/app/miku"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ deps:
# Usage: `make build`
build:
@echo Now building Tsubaki for platform $(GOOS)/$(GOARCH)!
go build -ldflags "-s -w -X main.version=${VERSION} -X main.commitSha=${COMMIT_SHA} -X \"main.buildDate=${BUILD_DATE}\"" -o ./bin/miku$(EXTENSION)
go build -ldflags "-s -w -X main.version=${VERSION} -X main.commitSha=${GIT_COMMIT} -X \"main.buildDate=${BUILD_DATE}\"" -o ./bin/miku$(EXTENSION)
@echo Successfully built the binary. Use './bin/miku$(EXTENSION)' to run!

# Usage: `make clean`
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.1.2"
"version": "0.1.3"
}

0 comments on commit 56473b0

Please sign in to comment.