Verified Commit cb290291 authored by AtjonTV's avatar AtjonTV

Build-Tools U18E - Release 19.03.5 (Missed files)

parent 60911d26
all:
docker build -t atjontv/build-tools:latest .
debug:
docker build -t build-sys-u18:latest .
install:
......
# Linux/Unix Only
This image is ONLY made to be run on Linux/Unix. This may (most likely) not work on Windows!
# Build it yourself
You can download the source of this container [here](https://ncloud.osmium.software/index.php/s/skSP5sdackAirKc) and unpackage it using 7Zip.
After that, you can simply go into the folder and run `make` to build the default `build-tools:latest` container (Pre `19.03.5` the container will be called `build-sys-u18:latest`, that image is still used on `make debug`).
You can install the below script using `make install` into `/bin`.
# Runner Script
By putting the following runner script either in the `/bin`, `/usr/local/bin` or `/usr/bin` folder as `container-make`:
......@@ -51,4 +63,17 @@ mkdir -p /cache/maven
mkdir -p /cache/gradle
mkdir -p /cache/python
mkdir -p /cache/go
mkdir -p /cache/yarn
mkdir -p /cache/npm
```
# Caches
What are the caches used for?
The caches allow you to fastly compile everywhere on your PC with any user. The Cache is globaly sheared to any instance of the container running.
* `gradle` includes Dependencies and Wrappers
* `maven` includes Dependencies
* `python` includes PIP Dependencies
* `go` includes Go-Build
......@@ -7,12 +7,13 @@ ARG_CONTAINER_NAME="--name container-make"
ARG_REMOVE_ON_KILL="--rm"
ARG_INTERACTIVE="-i"
ARG_TTY="-t"
BUILD_IMAGE="build-tools:19.03.4"
BUILD_IMAGE="build-tools:19.03.5"
#BUILD_IMAGE="build-sys-u18:latest"
# STORAGE ARGS
DATA_DIR="-v $(pwd):/data"
CACHE_MAVEN="-v /cache/maven:/root/.m2"
CACHE_GRADLE="-v /cache/gradle:/root/.gradle/caches"
CACHE_GRADLE="-v /cache/gradle:/root/.gradle"
CACHE_PYTHON="-v /cache/python:/root/.cache/pip"
CACHE_GOLANG="-v /cache/go:/root/.cache/go-build"
CACHE_YARN="-v /cache/yarn:/root/.yarn-cache"
......
#!/bin/bash
apt install openjdk-8-jdk-headless maven gradle -y
apt install openjdk-8-jdk-headless maven -y
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install gradle 5.2.1
#!/bin/bash
apt install git nano bash make cmake curl -y
apt install git nano bash make cmake curl zip unzip -y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment