mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-17 20:04:36 -05:00
2d8fcd9bf4
Co-authored-by: Malte Poll <mp@edgeless.systems> Co-authored-by: katexochen <katexochen@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Thomas Tendyck <tt@edgeless.systems> Co-authored-by: Benedict Schlueter <bs@edgeless.systems> Co-authored-by: leongross <leon.gross@rub.de> Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
13 lines
641 B
Docker
13 lines
641 B
Docker
FROM golang:1.18
|
|
ENV GOPRIVATE=github.com/edgelesssys/*
|
|
|
|
RUN apt-get update && apt-get install cmake iproute2 iputils-ping libssl-dev -y
|
|
|
|
RUN git clone -b v1.0.20210914 --depth=1 https://git.zx2c4.com/wireguard-tools && make -C wireguard-tools/src -j`nproc` && make -C wireguard-tools/src install
|
|
RUN git clone -b 0.0.20211016 --depth=1 https://git.zx2c4.com/wireguard-go && cd wireguard-go && make -j`nproc` && make install
|
|
|
|
COPY . /constellation
|
|
RUN cd /constellation && rm -rf build && mkdir build && cd build && cmake .. && make debug_coordinator -j`nproc` && cd /
|
|
|
|
CMD wireguard-go wg0 && /constellation/build/debug_coordinator -debug
|