2023-06-12 17:43:19 +00:00
|
|
|
# build container and tag it as sotn-build:latest
|
2024-03-15 21:04:57 +00:00
|
|
|
# docker build --tag sotn-build:latest .
|
2023-06-12 17:43:19 +00:00
|
|
|
|
2024-03-15 21:04:57 +00:00
|
|
|
# launch container and mount current directory under /sotn
|
2023-06-12 17:43:19 +00:00
|
|
|
# docker run --rm -it -v $(pwd):/sotn sotn-build /bin/bash
|
|
|
|
|
|
|
|
# cd /sotn
|
|
|
|
# make extract -j && make build -j
|
|
|
|
FROM ubuntu:22.04
|
|
|
|
RUN apt-get update
|
|
|
|
ADD tools tools
|
|
|
|
RUN apt-get install -y $(cat tools/requirements-debian.txt)
|
2024-03-15 21:04:57 +00:00
|
|
|
RUN pip3 install -r tools/requirements-python.txt
|
|
|
|
RUN mkdir /sotn
|
|
|
|
WORKDIR /sotn
|
|
|
|
RUN git config --global --add safe.directory /sotn
|