Client build scripts fixes and server stub with local devzone.
All checks were successful
Linting and tests / Linting (push) Successful in 6s
All checks were successful
Linting and tests / Linting (push) Successful in 6s
This commit is contained in:
18
server/Dockerfile
Normal file
18
server/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM code.pztrn.name/containers/go-toolbox:v8 AS build
|
||||
|
||||
WORKDIR /bunkerd
|
||||
COPY . /bunkerd
|
||||
RUN --mount=type=cache,target="/home/container/go" task server:cmd:bunkerd:build --force
|
||||
|
||||
FROM debian:13-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y ca-certificates iputils-ping coreutils && \
|
||||
rm -rf /var/lib/apt/* /var/cache/apt/*
|
||||
|
||||
COPY --from=build /bunkerd/_build/bunkerd /bunkerd
|
||||
COPY --from=build /usr/local/bin/dlv /dlv
|
||||
|
||||
COPY server/entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
Reference in New Issue
Block a user