This commit is contained in:
Max Bradbury 2020-10-04 10:29:31 +01:00
parent 3bdcec3443
commit 05e9981c7e
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ RUN useradd -ms /bin/bash rust
ADD peldd /usr/bin/peldd
ADD package.sh /usr/bin/package.sh
RUN dnf install -y mingw64-gcc mingw64-freetype mingw64-cairo mingw64-harfbuzz mingw64-pango mingw64-poppler mingw64-gtk3 mingw64-winpthreads-static mingw64-glib2-static gcc boost zip && dnf clean all -y
RUN dnf install -y mingw64-gcc mingw64-freetype mingw64-cairo mingw64-harfbuzz mingw64-pango mingw64-poppler mingw64-gtk3 mingw64-winpthreads-static mingw64-glib2-static gcc boost zip git && dnf clean all -y
USER rust
@ -33,6 +33,6 @@ CMD ["/usr/bin/package.sh"]
# $ docker build . -t PROJECTNAME-build-image
# 3) Creating a container with the source mounted the image (which kicks off the build):
# $ docker create -v `pwd`:/home/rust/src --name PROJECTNAME-build PROJECTNAME-build-image
# 4) Each time you want to build the project, start the Docker container.
# 4) Each time you want to build the project, start the Docker container.
# Add "-ai" to watch the build progress.
# $ docker start PROJECTNAME-build