generated from bool64/go-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
278 changed files
with
48,676 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
/*.coverprofile | ||
/.vscode | ||
/bench-*.txt | ||
/vendor | ||
/bin |
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 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM goface:latest as builder | ||
WORKDIR /go/src/service | ||
ADD . . | ||
RUN ls -lah | ||
RUN go mod download | ||
RUN CGO_LDFLAGS="-static -L/usr/lib/x86_64-linux-gnu/" CGO_ENABLED=1 GOOS=linux go build | ||
|
||
FROM alpine | ||
WORKDIR /root | ||
COPY --from=builder /go/src/service /root |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM dlibubuntu as builder | ||
RUN apt-get install wget git gcc -y | ||
|
||
RUN wget https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz | ||
RUN tar -xf go1.21.6.linux-amd64.tar.gz | ||
RUN mv go /usr/local | ||
|
||
ENV GOROOT /usr/local/go | ||
ENV GOPATH /go | ||
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH | ||
RUN mkdir $GOPATH | ||
RUN go mod init foo && go get -u github.com/Kagami/go-face@latest |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM ubuntu:20.04 as base | ||
RUN apt update && apt install tzdata -y | ||
ENV TZ="America/New_York" | ||
RUN apt-get install -y build-essential pkg-config libdlib-dev libopenblas-dev libgfortran-8-dev libjpeg-turbo8-dev | ||
ADD docker/dlib-1.pc /usr/local/lib/pkgconfig/ | ||
RUN pkg-config --cflags -- dlib-1 |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
https://github.com/Kagami/go-face/issues/3 | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
docker build -f docker/Dockerfile.ubuntu20.04 -t dlibubuntu . | ||
docker build -f docker/Dockerfile.go-face -t goface . | ||
docker build -f docker/Dockerfile.app -t faces . |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
libdir=/usr/lib/x86_64-linux-gnu | ||
includedir=/usr/include | ||
|
||
Name: dlib | ||
Description: Numerical and networking C++ library | ||
Version: 19.10.0 | ||
Libs: -L${libdir} -ldlib -lblas -llapack -lgfortran -lquadmath | ||
Cflags: -I${includedir} | ||
Requires: |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.