mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 06:47:56 +01:00
bump base image
This commit is contained in:
parent
831b18128d
commit
28d90f1078
@ -1,5 +1,5 @@
|
|||||||
# Setup build image for multistage build
|
# Setup build image for multistage build
|
||||||
FROM rust:buster as builder
|
FROM rust:bullseye as builder
|
||||||
# install build deps
|
# install build deps
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt-get update && apt-get upgrade -y
|
||||||
RUN apt-get install -yqq --no-install-recommends capnproto
|
RUN apt-get install -yqq --no-install-recommends capnproto
|
||||||
@ -10,9 +10,9 @@ RUN cargo build --release
|
|||||||
|
|
||||||
|
|
||||||
# Setup deployable image
|
# Setup deployable image
|
||||||
FROM debian:buster-slim
|
FROM debian:bullseye-slim
|
||||||
# Install runtime deps
|
# Install runtime deps
|
||||||
RUN apt-get update && apt-get upgrade -yqq
|
#RUN apt-get update && apt-get upgrade -yqq
|
||||||
COPY --from=builder /usr/src/bffh/target/release/bffhd /usr/local/bin/bffhd
|
COPY --from=builder /usr/src/bffh/target/release/bffhd /usr/local/bin/bffhd
|
||||||
#COPY --from=builder /usr/src/bffh/examples/bffh.dhall /etc/diflouroborane.dhall
|
#COPY --from=builder /usr/src/bffh/examples/bffh.dhall /etc/diflouroborane.dhall
|
||||||
# RUN diflouroborane --print-default > /etc/diflouroborane.toml
|
# RUN diflouroborane --print-default > /etc/diflouroborane.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user