mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 00:34:22 +00:00
Merge pull request #64 from ssalevan/master
Adjusting Dockerfile to support clean builds
This commit is contained in:
commit
fedaf466ff
12
Dockerfile
12
Dockerfile
@ -1,15 +1,15 @@
|
||||
# vim:ft=dockerfile
|
||||
FROM ubuntu:16.04
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
||||
RUN apt-get update && apt-get -y install \
|
||||
g++ \
|
||||
cmake libgmp-dev libmpfr-dev libmpc-dev libboost-all-dev bison \
|
||||
zlib1g-dev \
|
||||
perl texinfo
|
||||
|
||||
RUN mkdir /root/Retro68
|
||||
COPY . /root/Retro68/
|
||||
|
||||
RUN mkdir /root/Retro68-build
|
||||
ADD . /Retro68
|
||||
|
||||
RUN sh -c "cd /root/Retro68-build && sh ../Retro68/build-toolchain.sh --clean-after-build"
|
||||
RUN mkdir /Retro68-build
|
||||
|
||||
RUN bash -c "cd /Retro68-build && bash /Retro68/build-toolchain.bash --clean-after-build"
|
||||
|
Loading…
Reference in New Issue
Block a user