File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change 22
33ARG UBUNTU_VERSION=24.04
44
5- FROM ubuntu:${UBUNTU_VERSION} as build
5+ FROM ubuntu:${UBUNTU_VERSION}
66
77# Install dependencies
88
@@ -72,23 +72,6 @@ RUN <<EOT bash
7272 mv ${HYPERSCAN_DIR}/build/lib/lib*.a ${INSTALL_DIR}/lib/
7373EOT
7474
75- FROM ubuntu:${UBUNTU_VERSION}
76-
77- # Install dependencies
78-
79- ENV DEBIAN_FRONTEND noninteractive
80-
81- # hadolint ignore=DL3008
82- RUN <<EOT bash
83- apt-get update
84- apt-get install -y --no-install-recommends \
85- build-essential \
86- ca-certificates \
87- libpcap-dev \
88- pkg-config
89- rm -rf /var/lib/apt/lists/*
90- EOT
91-
9275# Install golang
9376
9477ARG GO_VERSION=1.23.3
10285
10386ENV PATH="/usr/local/go/bin:${PATH}"
10487
105- ENV INSTALL_DIR=/dist
106-
107- COPY --from=build ${INSTALL_DIR} ${INSTALL_DIR}
108-
10988ENV PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${INSTALL_DIR}/lib/pkgconfig"
11089
11190# Add gohs code
You can’t perform that action at this time.
0 commit comments