13 lines
453 B
Docker
13 lines
453 B
Docker
# podman build -t s2-test-container .
|
|
# podman run --rm -it -v "${PWD}:/Source/src" s2-test-container
|
|
FROM ubuntu:latest
|
|
RUN apt-get update
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libgflags-dev libgoogle-glog-dev libgtest-dev libssl-dev cmake git g++
|
|
|
|
RUN mkdir Source
|
|
|
|
RUN git clone https://github.com/google/s2geometry.git /Source/s2geometry
|
|
RUN git clone https://github.com/abseil/abseil-cpp.git /Source/abseil-cpp
|
|
|
|
WORKDIR /Source/src
|