2023-02-24 00:31:32 -05:00
|
|
|
# podman build -t s2-test-container .
|
|
|
|
# podman run --rm -it -v "${PWD}:/Source/src" s2-test-container
|
2023-02-22 18:41:45 -05:00
|
|
|
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
|