diff options
author | 2020-04-18 02:38:35 +0200 | |
---|---|---|
committer | 2020-04-18 02:50:54 +0200 | |
commit | 35a41e63ebd5f6cf9d17419c150eb53a005d2e87 (patch) | |
tree | e0bcc21bbb1e7e200857cfbd52acb82b008a3a6d /Dockerfile.dev | |
parent | Display version and last update in the footer (diff) | |
download | glsamaker-35a41e63ebd5f6cf9d17419c150eb53a005d2e87.tar.gz glsamaker-35a41e63ebd5f6cf9d17419c150eb53a005d2e87.tar.bz2 glsamaker-35a41e63ebd5f6cf9d17419c150eb53a005d2e87.zip |
Add the initial version of the rewritten glsamaker
The glsamaker has been completly rewritten in go. It is
using postgres instead of mysql now. The look and feel is
based on tyrian.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'Dockerfile.dev')
-rw-r--r-- | Dockerfile.dev | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile.dev b/Dockerfile.dev new file mode 100644 index 0000000..902fd47 --- /dev/null +++ b/Dockerfile.dev @@ -0,0 +1,10 @@ +FROM golang:1.14.0 +RUN apt update && apt install -y ca-certificates ntp ntpdate +WORKDIR /go/src/glsamaker +COPY . /go/src/glsamaker +RUN go get github.com/go-pg/pg/v9 +RUN go get github.com/google/uuid +RUN go get github.com/skip2/go-qrcode +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin . + +CMD ["/go/src/glsamaker/bin/glsamaker"] |