mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-27 06:50:35 +00:00
a5ffd53cff
Also tweaked the Dockerfile since this is what I use to build the project.
17 lines
501 B
Docker
17 lines
501 B
Docker
# build container and tag it as sotn-build:latest
|
|
# docker build --tag sotn-build:latest .
|
|
|
|
# launch container and mount current directory under /sotn
|
|
# 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)
|
|
RUN pip3 install -r tools/requirements-python.txt
|
|
RUN mkdir /sotn
|
|
WORKDIR /sotn
|
|
RUN git config --global --add safe.directory /sotn
|