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
|
WORKDIR /build
|
||||||
COPY . /build
|
COPY . /build
|
||||||
RUN bash build.sh
|
RUN bash build.sh
|
||||||
FROM busybox:stable AS run
|
FROM busybox:stable-glibc AS run
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /build/backends.prod.json /app/backends.json
|
COPY --from=build /build/backends.prod.json /app/backends.json
|
||||||
COPY --from=build /build/api/api /app/hermes
|
COPY --from=build /build/api/api /app/hermes
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
pushd sshbackend
|
pushd sshbackend
|
||||||
CGO_ENABLED=0 GOOS=linux go build .
|
GOOS=linux go build .
|
||||||
strip sshbackend
|
strip sshbackend
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd dummybackend
|
pushd dummybackend
|
||||||
CGO_ENABLED=0 GOOS=linux go build .
|
GOOS=linux go build .
|
||||||
strip dummybackend
|
strip dummybackend
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -15,6 +15,6 @@ strip externalbackendlauncher
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd api
|
pushd api
|
||||||
CGO_ENABLED=0 GOOS=linux go build .
|
GOOS=linux go build .
|
||||||
strip api
|
strip api
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue