diff --git a/docker/tor-relay/Dockerfile b/docker/tor-relay/Dockerfile index 896db34..4ba7fd5 100644 --- a/docker/tor-relay/Dockerfile +++ b/docker/tor-relay/Dockerfile @@ -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 && \ make -j4 -# Debug step: List directory contents -RUN ls -l /tmp/static_tor/tor/src/or - -# Stage 2: Create the final minimal image with Tor -FROM scratch +# Stage 2: Create the final image for testing with Alpine +FROM alpine:latest # Copy the statically compiled Tor binary COPY --from=builder /tmp/static_tor/tor/src/or/tor /usr/local/bin/tor