Skip to content

Commit

Permalink
update docker deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim committed Nov 4, 2023
1 parent e6d328d commit 36fca44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye AS build
FROM golang:1-bookworm AS build

WORKDIR /src/
# Pull in deps first to ease cache
Expand All @@ -12,10 +12,10 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /bin/switchhost

# Now create the runtime container from python base for nsz

FROM python:3.11-slim-bullseye
FROM python:3.12-slim-bookworm

WORKDIR /switchhost/
RUN pip3 install nsz==4.1.0 && apt-get update && apt-get install -y curl && apt-get purge
RUN pip3 install nsz==4.5.0 && apt-get update && apt-get install -y curl && apt-get purge
COPY --from=build /bin/switchhost ./switchhost

# Run healthcheck against the web ui
Expand Down

0 comments on commit 36fca44

Please sign in to comment.