-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adam Vollrath <[email protected]> Co-authored-by: shuai <[email protected]> Co-authored-by: kelvinkuo <[email protected]> Co-authored-by: hgaol <[email protected]> Co-authored-by: sy-records <[email protected]> Co-authored-by: Adam Vollrath <[email protected]> Co-authored-by: kumfo <[email protected]> Co-authored-by: Yang Wong <yang wang> Co-authored-by: hbsciw <[email protected]>
- Loading branch information
1 parent
52e0a4c
commit 937de43
Showing
145 changed files
with
3,632 additions
and
1,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,9 @@ RUN mkdir -p /data/uploads && chmod 777 /data/uploads \ | |
FROM alpine | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV TZ "Asia/Shanghai" | ||
ARG TIMEZONE | ||
ENV TIMEZONE=${TIMEZONE:-"Asia/Shanghai"} | ||
|
||
RUN apk update \ | ||
&& apk --no-cache add \ | ||
bash \ | ||
|
@@ -58,7 +60,9 @@ RUN apk update \ | |
openssh \ | ||
sqlite \ | ||
gnupg \ | ||
&& echo "Asia/Shanghai" > /etc/timezone | ||
tzdata \ | ||
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \ | ||
&& echo "${TIMEZONE}" > /etc/timezone | ||
|
||
COPY --from=golang-builder /usr/bin/answer /usr/bin/answer | ||
COPY --from=golang-builder /data /data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.PHONY: build clean ui | ||
|
||
VERSION=1.2.1 | ||
VERSION=1.2.5 | ||
BIN=answer | ||
DIR_SRC=./cmd/answer | ||
DOCKER_CMD=docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.