linux stuff

This commit is contained in:
doyle
2022-07-19 15:40:33 +10:00
parent 39ab3007fc
commit c274a6254c
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ do
docker create --name ${container_name} ${image_name} || exit
mkdir --parent build || exit
docker cp ${container_name}:/usr/local/docker/gcc-mostlyportable-${gcc_version} . || exit
docker cp ${container_name}:/usr/local/docker/mostlyportable-gcc/gcc-mostlyportable-${gcc_version} . || exit
docker container rm ${container_name} || exit
done
if [[ $EUID == 0 ]]; then
chown --recursive ${USER} build
chown --recursive ${USER} gcc-mostlyportable-*
fi
+1
View File
@@ -27,6 +27,7 @@ WORKDIR /usr/local/docker
ARG MOSTLY_PORTABLE_GCC_GIT_BRANCH=master
RUN set -ex \
&& git clone https://github.com/Frogging-Family/mostlyportable-gcc \
&& cd mostlyportable-gcc \
&& git checkout $MOSTLY_PORTABLE_GIT_BRANCH
ARG GCC_VERSION=11.3.0