mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-24 07:46:03 +00:00
10 lines
253 B
Text
10 lines
253 B
Text
|
FROM alpine:edge
|
||
|
RUN apk add --no-cache cargo rust pkgconfig openssl-dev
|
||
|
RUN mkdir /tun2proxy
|
||
|
ADD src /tun2proxy/src
|
||
|
ADD Cargo.toml /tun2proxy/Cargo.toml
|
||
|
ADD tests /tun2proxy/tests
|
||
|
WORKDIR /tun2proxy
|
||
|
RUN cargo build --tests
|
||
|
ENTRYPOINT ["cargo", "test"]
|