fix: Fixes SQLite not working with Docker.

This commit is contained in:
Tera << 8 2025-01-05 20:51:30 -05:00
parent 843cd34785
commit f505ff6605
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ FROM golang:latest AS build
WORKDIR /build
COPY . /build
RUN bash build.sh
FROM busybox:stable AS run
FROM busybox:stable-glibc AS run
WORKDIR /app
COPY --from=build /build/backends.prod.json /app/backends.json
COPY --from=build /build/api/api /app/hermes

View file

@ -1,11 +1,11 @@
#!/usr/bin/env bash
pushd sshbackend
CGO_ENABLED=0 GOOS=linux go build .
GOOS=linux go build .
strip sshbackend
popd
pushd dummybackend
CGO_ENABLED=0 GOOS=linux go build .
GOOS=linux go build .
strip dummybackend
popd
@ -15,6 +15,6 @@ strip externalbackendlauncher
popd
pushd api
CGO_ENABLED=0 GOOS=linux go build .
GOOS=linux go build .
strip api
popd