Skip to content

Commit

Permalink
Merge pull request #5 from lanrat/docker
Browse files Browse the repository at this point in the history
fix docker glibc version
  • Loading branch information
wladwm authored Feb 11, 2024
2 parents 5b9bbd6 + 585ed2a commit 22476d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ WORKDIR /usr/src/bgpexplorer
COPY . .
RUN cargo build --release

FROM debian:buster-slim
#RUN apt-get update && rm -rf /var/lib/apt/lists/*
RUN rm -rf /var/lib/apt/lists/*
FROM debian:bookworm-slim
RUN mkdir -p /usr/bgpexplorer/contrib
COPY --from=builder /usr/src/bgpexplorer/contrib/* /usr/bgpexplorer/contrib/
COPY --from=builder /usr/src/bgpexplorer/target/release/bgpexplorer /usr/src/bgpexplorer/bgpexplorer.ini /usr/src/bgpexplorer/whois.json /usr/bgpexplorer/
Expand Down

0 comments on commit 22476d1

Please sign in to comment.