tor-relay
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
564ef2cd3e
commit
73d11e1816
|
@ -57,11 +57,8 @@ RUN git clone https://git.torproject.org/tor.git && \
|
||||||
./configure --disable-asciidoc --enable-static-tor --with-libevent-dir=/tmp/static_tor/install --with-openssl-dir=/tmp/static_tor/install --with-zlib-dir=/tmp/static_tor/install && \
|
./configure --disable-asciidoc --enable-static-tor --with-libevent-dir=/tmp/static_tor/install --with-openssl-dir=/tmp/static_tor/install --with-zlib-dir=/tmp/static_tor/install && \
|
||||||
make -j4
|
make -j4
|
||||||
|
|
||||||
# Debug step: List directory contents
|
# Stage 2: Create the final image for testing with Alpine
|
||||||
RUN ls -l /tmp/static_tor/tor/src/or
|
FROM alpine:latest
|
||||||
|
|
||||||
# Stage 2: Create the final minimal image with Tor
|
|
||||||
FROM scratch
|
|
||||||
|
|
||||||
# Copy the statically compiled Tor binary
|
# Copy the statically compiled Tor binary
|
||||||
COPY --from=builder /tmp/static_tor/tor/src/or/tor /usr/local/bin/tor
|
COPY --from=builder /tmp/static_tor/tor/src/or/tor /usr/local/bin/tor
|
||||||
|
|
Loading…
Reference in New Issue