Fix dockerfile grr
This commit is contained in:
parent
630ff58c16
commit
904f4d3832
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bookworm-slim AS builder
|
FROM docker.io/debian:bookworm-slim AS builder
|
||||||
RUN apt-get update && apt-get install -y build-essential cmake 'libevent-dev=2.1.*' && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y build-essential cmake 'libevent-dev=2.1.*' && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
|
||||||
COPY CMakeLists.txt /app/src/
|
COPY CMakeLists.txt /app/src/
|
||||||
COPY NOTICE /app/src/
|
COPY NOTICE /app/src/
|
||||||
@ -6,7 +6,7 @@ COPY lwip /app/src/lwip/
|
|||||||
COPY src /app/src/src/
|
COPY src /app/src/src/
|
||||||
RUN mkdir -p /app/build && cd /app/build && cmake /app/src && make && mv tcpproxy ..
|
RUN mkdir -p /app/build && cd /app/build && cmake /app/src && make && mv tcpproxy ..
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM docker.io/debian:bookworm-slim
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends openconnect libevent-core-2.1-7 ncat && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y --no-install-recommends openconnect libevent-core-2.1-7 ncat && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
|
||||||
COPY --from=builder /app/tcpproxy /app/
|
COPY --from=builder /app/tcpproxy /app/
|
||||||
COPY --from=builder /app/src/NOTICE /app/
|
COPY --from=builder /app/src/NOTICE /app/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user