Skip to content

Commit 5e31409

Browse files
committed
Danamic linking against libc
1 parent 158c9d4 commit 5e31409

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

tools/libmnl/Dockerfile.template

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
FROM ghcr.io/uniget-org/tools/make:latest AS make
44

5-
FROM registry.gitlab.com/uniget-org/images/build-base:3.20 AS prepare
5+
FROM registry.gitlab.com/uniget-org/images/build-essential:24.04 AS prepare
66
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
77
/etc/profile.d/ \
88
/etc/profile.d/
99
SHELL [ "bash", "-clo", "errexit" ]
10-
RUN --mount=type=cache,target=/var/cache/apk <<EOF
11-
apk add --update-cache \
12-
linux-headers
13-
EOF
1410
COPY --link --from=make / /usr/local/
1511
WORKDIR /tmp/libmnl
1612
ARG name

tools/libnfnetlink/Dockerfile.template

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
FROM ghcr.io/uniget-org/tools/make:latest AS make
44

5-
FROM registry.gitlab.com/uniget-org/images/build-base:3.20 AS prepare
5+
FROM registry.gitlab.com/uniget-org/images/build-essential:24.04 AS prepare
66
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
77
/etc/profile.d/ \
88
/etc/profile.d/
99
SHELL [ "bash", "-clo", "errexit" ]
10-
RUN --mount=type=cache,target=/var/cache/apk <<EOF
11-
apk add --update-cache \
12-
linux-headers
13-
EOF
1410
COPY --link --from=make / /usr/local/
1511
WORKDIR /tmp/libnfnetlink
1612
ARG name

tools/libnftnl/Dockerfile.template

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
FROM ghcr.io/uniget-org/tools/make:latest AS make
44
FROM ghcr.io/uniget-org/tools/libmnl:latest AS libmnl
55

6-
FROM registry.gitlab.com/uniget-org/images/build-base:3.20 AS prepare
6+
FROM registry.gitlab.com/uniget-org/images/build-essential:24.04 AS prepare
77
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
88
/etc/profile.d/ \
99
/etc/profile.d/
1010
SHELL [ "bash", "-clo", "errexit" ]
11-
RUN --mount=type=cache,target=/var/cache/apk <<EOF
12-
apk add --update-cache \
13-
linux-headers
14-
EOF
1511
COPY --link --from=make / /usr/local/
1612
COPY --link --from=libmnl / /usr/local/
1713
WORKDIR /tmp/libnftnl

0 commit comments

Comments
 (0)