Skip to content

Commit 4a9fd48

Browse files
committed
minor optimization
1 parent 4d46fa7 commit 4a9fd48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ FROM --platform=$TARGETARCH base AS compiler
2525

2626
RUN dnf -y update && dnf install -y python3.13-devel @development-tools gcc-c++ \
2727
libnetfilter_queue-devel libnfnetlink-devel libmnl-devel libcap-ng-utils nftables \
28-
vectorscan-devel libtins-devel python3-nftables libpcap-devel boost-devel uv git
28+
vectorscan-devel libtins-devel python3-nftables libpcap-devel boost-devel
2929

3030
COPY ./backend/binsrc /execute/binsrc
3131
RUN g++ binsrc/nfregex.cpp -o cppregex -std=c++23 -O3 -lnetfilter_queue -pthread -lnfnetlink $(pkg-config --cflags --libs libtins libhs libmnl)
@@ -37,13 +37,13 @@ FROM --platform=$TARGETARCH base AS final
3737
ADD ./backend/requirements.txt /execute/requirements.txt
3838
COPY ./fgex-lib /execute/fgex-lib
3939

40-
RUN dnf install -y gcc-c++ python3.13-devel &&\
40+
RUN dnf install -y gcc-c++ python3.13-devel uv git &&\
4141
git clone https://github.com/domysh/brotli &&\
4242
cd brotli && uv pip install --no-cache --system . &&\
4343
cd .. && rm -rf brotli &&\
4444
uv pip install --no-cache --system -r /execute/requirements.txt &&\
4545
uv pip install --no-cache --system ./fgex-lib &&\
46-
dnf remove -y gcc-c++ python3.13-devel
46+
dnf remove -y gcc-c++ python3.13-devel uv git
4747

4848
COPY ./backend/ /execute/
4949
COPY --from=compiler /execute/cppregex /execute/cpproxy /execute/modules/

0 commit comments

Comments
 (0)