mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
preparing the staging area once more for preparing fiels
cut down on final image size by auto-cleaning as much of the repository as possible
This commit is contained in:
parent
81b2e1fc66
commit
12d8a92f04
@ -24,5 +24,4 @@
|
|||||||
**
|
**
|
||||||
|
|
||||||
# Except the script directory
|
# Except the script directory
|
||||||
!scripts/preparation.*
|
!scripts/preparation*
|
||||||
!scripts/build.*
|
|
||||||
|
@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
ADD scripts/ /root/sol2-scripts
|
ADD scripts/ /root/sol2-scripts
|
||||||
|
|
||||||
RUN mkdir -p /root/build-sol2/Debug /root/build-sol2/Release
|
RUN mkdir -p /root/build-sol2/Debug /root/build-sol2/Release
|
||||||
RUN chmod +x /root/sol2-scripts/preparation.linux.sh /root/sol2-scripts/run.linux.sh
|
RUN chmod +x /root/sol2-scripts/preparation.linux.sh
|
||||||
|
|
||||||
VOLUME /root/sol2
|
VOLUME /root/sol2
|
||||||
#ADD . /root/sol2
|
#ADD . /root/sol2
|
||||||
|
@ -103,6 +103,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
apt-get -y autoremove
|
apt-get -y autoremove
|
||||||
|
apt-get -y clean
|
||||||
|
apt-get -y autoclean
|
||||||
|
|
||||||
# show the tool and compiler versions we're using
|
# show the tool and compiler versions we're using
|
||||||
echo "=== Compiler and tool variables ==="
|
echo "=== Compiler and tool variables ==="
|
||||||
|
Loading…
x
Reference in New Issue
Block a user