forked from ip-gpu/KomodoOcean
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from DeckerSU/static-experimental
Merge branch 'static-experimental' into static-dev
- Loading branch information
Showing
62 changed files
with
1,817 additions
and
723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM ubuntu:20.04 | ||
# Environment for build KomodoOcean | ||
|
||
# Build container: | ||
# docker build -f Dockerfile.focal.ci --build-arg BUILDER_NAME=$USER --build-arg BUILDER_UID=$(id -u) --build-arg BUILDER_GID=$(id -g) -t ocean_focal_builder . | ||
# Run interactive session in build environment: | ||
# docker run -u $(id -u ${USER}):$(id -g ${USER}) -v $PWD:$PWD -w $PWD -e HOME=/root -it ocean_focal_builder | ||
# Run build itself: | ||
# delete ./built/x86_64-unknown-linux-gnu before build (!) other version of linux, then do: | ||
# ./zcutil/clean-help-dev.sh ; make clean ; zcutil/build.sh -j$(nproc --all) | ||
# | ||
# docker run -u $(id -u ${USER}):$(id -g ${USER}) -v $PWD:$PWD -w $PWD -e HOME=/root ocean_focal_builder /bin/bash -c "./zcutil/clean-help-dev.sh ; make clean ; zcutil/build.sh -j$(nproc --all)" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG BUILDER_NAME=builder | ||
ARG BUILDER_UID=1000 | ||
ARG BUILDER_GID=1000 | ||
ENV TZ=Europe/Amsterdam | ||
|
||
RUN \ | ||
apt-get update && apt-get install --no-install-recommends -y apt-transport-https ca-certificates curl &&\ | ||
sed -i 's/archive\.ubuntu\.com/mirror\.nl\.leaseweb\.net/g' /etc/apt/sources.list &&\ | ||
sed -i 's/http:/https:/g' /etc/apt/sources.list &&\ | ||
apt-get update && apt-get install -y sudo &&\ | ||
groupadd --gid ${BUILDER_GID} --force ${BUILDER_NAME} &&\ | ||
adduser --disabled-password --gecos '' --no-create-home $BUILDER_NAME --uid ${BUILDER_UID} --gid ${BUILDER_GID} &&\ | ||
adduser $BUILDER_NAME sudo &&\ | ||
echo "$BUILDER_NAME ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/$BUILDER_NAME &&\ | ||
apt-get install --no-install-recommends -y build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python bison zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake &&\ | ||
apt-get install --no-install-recommends -y mingw-w64 &&\ | ||
echo 1 | update-alternatives --config x86_64-w64-mingw32-gcc &&\ | ||
echo 1 | update-alternatives --config x86_64-w64-mingw32-g++ &&\ | ||
apt-get install --no-install-recommends -y librsvg2-bin libtiff-tools cmake imagemagick libcap-dev libz-dev libbz2-dev python3-setuptools libtinfo5 xorriso &&\ | ||
chmod -R 777 /root | ||
RUN \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM ubuntu:16.04 | ||
# Environment for build KomodoOcean | ||
|
||
# Build container: | ||
# docker build -f Dockerfile.xenial.ci --build-arg BUILDER_NAME=$USER --build-arg BUILDER_UID=$(id -u) --build-arg BUILDER_GID=$(id -g) -t ocean_xenial_builder . | ||
# Run interactive session in build environment: | ||
# docker run -u $(id -u ${USER}):$(id -g ${USER}) -v $PWD:$PWD -w $PWD -e HOME=/root -it ocean_xenial_builder | ||
# Run build itself: | ||
# delete ./built/x86_64-unknown-linux-gnu before build (!) other version of linux, then do: | ||
# ./zcutil/clean-help-dev.sh ; make clean ; zcutil/build.sh -j$(nproc --all) | ||
# | ||
# docker run -u $(id -u ${USER}):$(id -g ${USER}) -v $PWD:$PWD -w $PWD -e HOME=/root ocean_xenial_builder /bin/bash -c "./zcutil/clean-help-dev.sh ; make clean ; zcutil/build.sh -j$(nproc --all)" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG BUILDER_NAME=builder | ||
ARG BUILDER_UID=1000 | ||
ARG BUILDER_GID=1000 | ||
ENV TZ=Europe/Amsterdam | ||
|
||
RUN \ | ||
apt-get update && apt-get install --no-install-recommends -y apt-transport-https ca-certificates curl &&\ | ||
sed -i 's/archive\.ubuntu\.com/mirror\.nl\.leaseweb\.net/g' /etc/apt/sources.list &&\ | ||
sed -i 's/http:/https:/g' /etc/apt/sources.list &&\ | ||
apt-get update && apt-get install -y sudo &&\ | ||
groupadd --gid ${BUILDER_GID} --force ${BUILDER_NAME} &&\ | ||
adduser --disabled-password --gecos '' --no-create-home $BUILDER_NAME --uid ${BUILDER_UID} --gid ${BUILDER_GID} &&\ | ||
adduser $BUILDER_NAME sudo &&\ | ||
echo "$BUILDER_NAME ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/$BUILDER_NAME &&\ | ||
apt-get install --no-install-recommends -y build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python bison zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake &&\ | ||
chmod -R 777 /root | ||
RUN \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.