Skip to content

Commit

Permalink
fix(docker): libpcap -> libpcap0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Aug 15, 2023
1 parent 5d90148 commit 21dc62b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ ENV VITE_APP_BUILD_TIMESTAMP=$TIMESTAMP
ENV VITE_APP_GIT_SHA=$GIT_SHA
ENV VITE_APP_GIT_NAME=$GIT_NAME

RUN apt update && \
apt install -y wget && \
apt install -y gnupg2 && \
RUN apt update && apt install -y wget gnupg2 libpcap0.8 && \
wget -qO- https://deb.nodesource.com/setup_20.x | bash - && \
apt install -y build-essential nodejs

Expand All @@ -28,7 +26,7 @@ WORKDIR /app
EXPOSE 80

COPY --from=publish /app/publish .
RUN apt update && apt install -y wget libpcap --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN apt update && apt install -y wget libpcap0.8 --no-install-recommends && rm -rf /var/lib/apt/lists/*

HEALTHCHECK --interval=5m --timeout=3s --start-period=10s --retries=1 \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/healthz || exit 1
Expand Down
2 changes: 1 addition & 1 deletion src/GZCTF/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY --from=build /publish .

EXPOSE 80

RUN apt update && apt install -y wget libpcap --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN apt update && apt install -y wget libpcap0.8 --no-install-recommends && rm -rf /var/lib/apt/lists/*
HEALTHCHECK --interval=5m --timeout=3s --start-period=10s --retries=1 \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/healthz || exit 1

Expand Down

0 comments on commit 21dc62b

Please sign in to comment.