Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does go face support docker or not #91

Open
upgradepa opened this issue Nov 23, 2022 · 2 comments
Open

does go face support docker or not #91

upgradepa opened this issue Nov 23, 2022 · 2 comments

Comments

@upgradepa
Copy link

No description provided.

@thewisepigeon
Copy link

Right now I am using it in a docker container (Ubuntu) because I'm having issues installing it on my system (Manjaro). I don't really know what you mean by 'does it support docker' but hope that helps

@andre-ols
Copy link

Here is an example of a Dockerfile

FROM golang:1.22.1

# Install go-face dependencies
RUN apt-get update && apt-get -y install \
    libdlib-dev \
    libblas-dev \
    libatlas-base-dev \
    liblapack-dev \
    libjpeg62-turbo-dev

# Build app
WORKDIR /app
COPY ./go.mod .
COPY ./go.sum .
COPY ./main.go .
COPY ./testdata/ testdata/
RUN go mod tidy
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -x -o app

# Keep the container running
CMD ["tail", "-f", "/dev/null"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants