fix: Fixes SQLite not working with Docker.
This commit is contained in:
parent
843cd34785
commit
f505ff6605
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue