diff --git a/.github/workflows/epicmorg.base.images.debian.10.yml b/.github/workflows/epicmorg.base.images.debian.10.yml index 220dd4e51..b64389606 100644 --- a/.github/workflows/epicmorg.base.images.debian.10.yml +++ b/.github/workflows/epicmorg.base.images.debian.10.yml @@ -43,10 +43,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 10 jdk6 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk6 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6 && pwd && make build && make deploy - name: "Build and Deploy Debian 10 jdk7 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk7 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7 && pwd && make build && make deploy ################################################################################## @@ -56,10 +56,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 10 jdk8 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk8 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8 && pwd && make build && make deploy - name: "Build and Deploy Debian 10 jdk11 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk11 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11 && pwd && make build && make deploy ################################################################################## @@ -69,13 +69,13 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 10 jdk16 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk16 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16 && pwd && make build && make deploy - name: "Build and Deploy Debian 10 jdk17 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk17 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17 && pwd && make build && make deploy - name: "Build and Deploy Debian 10 jdk18 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk18 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18 && pwd && make build && make deploy ################################################################################## @@ -85,10 +85,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 10 jdk19 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk19 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19 && pwd && make build && make deploy - name: "Build and Deploy Debian 10 jdk20 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk20 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20 && pwd && make build && make deploy ################################################################################## @@ -98,10 +98,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 10 jdk21 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk21 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21 && pwd && make build && make deploy - name: "Build and Deploy Debian 10 jdk22 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk22 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22 && pwd && make build && make deploy ################################################################################## @@ -109,3 +109,93 @@ jobs: run: make docker-clean ################################################################################## + + - name: "Build and Deploy Debian 10 NodeJS LTS Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS Current Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/current && pwd && make build && make deploy + +################################################################################## + + - name: "Build and Deploy Debian 10 NodeJS 0.12 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 4 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 5 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 6 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 7 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 8 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 9 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 10 NodeJS 10 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 11 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 12 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 13 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 14 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 15 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 10 NodeJS 16 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 17 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 18 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 19 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 20 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 21 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 NodeJS 22 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + diff --git a/.github/workflows/epicmorg.base.images.debian.6.yml b/.github/workflows/epicmorg.base.images.debian.6.yml index fb56aa357..748114418 100644 --- a/.github/workflows/epicmorg.base.images.debian.6.yml +++ b/.github/workflows/epicmorg.base.images.debian.6.yml @@ -42,10 +42,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 6 jdk6 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk6 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6 && pwd && make build && make deploy - name: "Build and Deploy Debian 6 jdk7 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk7 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7 && pwd && make build && make deploy ################################################################################## @@ -55,10 +55,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 6 jdk8 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk8 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8 && pwd && make build && make deploy - name: "Build and Deploy Debian 6 jdk11 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk11 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11 && pwd && make build && make deploy ################################################################################## @@ -68,10 +68,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 6 jdk16 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk16 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16 && pwd && make build && make deploy - name: "Build and Deploy Debian 6 jdk17 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk17 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17 && pwd && make build && make deploy ################################################################################## @@ -81,10 +81,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 6 jdk18 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk18 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18 && pwd && make build && make deploy - name: "Build and Deploy Debian 6 jdk19 Image:" - run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk19 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19 && pwd && make build && make deploy ################################################################################## @@ -93,14 +93,14 @@ jobs: ################################################################################## -# - name: "Build and Deploy Debian 6 jdk20 Image:" -# run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk20 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 6 jdk21 Image:" -# run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk21 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 6 jdk22 Image:" -# run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk22 && pwd && make build && make deploy + - name: "Build and Deploy Debian 6 jdk20 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22 && pwd && make build && make deploy ################################################################################## @@ -108,3 +108,94 @@ jobs: run: make docker-clean ################################################################################## + + - name: "Build and Deploy Debian 6 NodeJS LTS Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS Current Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current && pwd && make build && make deploy + +################################################################################## + + - name: "Build and Deploy Debian 6 NodeJS 0.12 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 4 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 5 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 6 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 7 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 8 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 9 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 NodeJS 10 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 11 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 12 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 13 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 14 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 15 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 NodeJS 16 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 17 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 18 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 19 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 20 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 21 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 NodeJS 22 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + diff --git a/.github/workflows/epicmorg.base.images.debian.7.yml b/.github/workflows/epicmorg.base.images.debian.7.yml index 7cbcb3264..ed0ae3ca4 100644 --- a/.github/workflows/epicmorg.base.images.debian.7.yml +++ b/.github/workflows/epicmorg.base.images.debian.7.yml @@ -41,10 +41,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 7 jdk6 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk6 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6 && pwd && make build && make deploy - name: "Build and Deploy Debian 7 jdk7 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk7 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7 && pwd && make build && make deploy ################################################################################## @@ -54,10 +54,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 7 jdk8 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk8 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8 && pwd && make build && make deploy - name: "Build and Deploy Debian 7 jdk11 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk11 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11 && pwd && make build && make deploy ################################################################################## @@ -67,10 +67,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 7 jdk16 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk16 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16 && pwd && make build && make deploy - name: "Build and Deploy Debian 7 jdk17 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk17 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17 && pwd && make build && make deploy ################################################################################## @@ -80,10 +80,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 7 jdk18 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk18 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18 && pwd && make build && make deploy - name: "Build and Deploy Debian 7 jdk19 Image:" - run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk19 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19 && pwd && make build && make deploy ################################################################################## @@ -92,14 +92,14 @@ jobs: ################################################################################## -# - name: "Build and Deploy Debian 7 jdk20 Image:" -# run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk20 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 7 jdk21 Image:" -# run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk21 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 7 jdk22 Image:" -# run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk22 && pwd && make build && make deploy + - name: "Build and Deploy Debian 7 jdk20 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22 && pwd && make build && make deploy ################################################################################## @@ -107,3 +107,99 @@ jobs: run: make docker-clean ################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 NodeJS LTS Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS Current Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current && pwd && make build && make deploy + +################################################################################## + + - name: "Build and Deploy Debian 7 NodeJS 0.12 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 4 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 5 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 6 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 7 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 8 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 9 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 NodeJS 10 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 11 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 12 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 13 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 14 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 15 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 NodeJS 16 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 17 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 18 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 19 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 20 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 21 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 NodeJS 22 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + diff --git a/.github/workflows/epicmorg.base.images.debian.8.yml b/.github/workflows/epicmorg.base.images.debian.8.yml index 1a31b5f72..2ae628d9e 100644 --- a/.github/workflows/epicmorg.base.images.debian.8.yml +++ b/.github/workflows/epicmorg.base.images.debian.8.yml @@ -41,10 +41,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 8 jdk6 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk6 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6 && pwd && make build && make deploy - name: "Build and Deploy Debian 8 jdk7 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk7 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7 && pwd && make build && make deploy ################################################################################## @@ -54,10 +54,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 8 jdk8 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8 && pwd && make build && make deploy - name: "Build and Deploy Debian 8 jdk11 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11 && pwd && make build && make deploy ################################################################################## @@ -67,10 +67,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 8 jdk16 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk16 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16 && pwd && make build && make deploy - name: "Build and Deploy Debian 8 jdk17 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17 && pwd && make build && make deploy ################################################################################## @@ -80,10 +80,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 8 jdk18 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18 && pwd && make build && make deploy - name: "Build and Deploy Debian 8 jdk19 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk19 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19 && pwd && make build && make deploy ################################################################################## @@ -93,13 +93,13 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 8 jdk20 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk20 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20 && pwd && make build && make deploy - name: "Build and Deploy Debian 8 jdk21 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21 && pwd && make build && make deploy - name: "Build and Deploy Debian 8 jdk22 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk22 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22 && pwd && make build && make deploy ################################################################################## @@ -107,3 +107,93 @@ jobs: run: make docker-clean ################################################################################## + + - name: "Build and Deploy Debian 8 NodeJS LTS Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS Current Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current && pwd && make build && make deploy + +################################################################################## + + - name: "Build and Deploy Debian 8 NodeJS 0.12 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 4 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 5 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 6 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 7 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 8 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 9 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 8 NodeJS 10 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 11 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 12 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 13 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 14 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 15 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 8 NodeJS 16 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 17 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 18 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 19 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 20 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 21 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 NodeJS 22 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + diff --git a/.github/workflows/epicmorg.base.images.debian.9.yml b/.github/workflows/epicmorg.base.images.debian.9.yml index 61cfdd520..ab93f0236 100644 --- a/.github/workflows/epicmorg.base.images.debian.9.yml +++ b/.github/workflows/epicmorg.base.images.debian.9.yml @@ -41,13 +41,13 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 9 jdk6 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk6 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk7 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk7 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk8 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk8 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8 && pwd && make build && make deploy ################################################################################## @@ -57,13 +57,13 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 9 jdk11 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk16 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk16 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk17 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17 && pwd && make build && make deploy ################################################################################## @@ -78,13 +78,13 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 9 jdk18 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk19 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk19 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk20 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk20 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20 && pwd && make build && make deploy ################################################################################## @@ -94,10 +94,10 @@ jobs: ################################################################################## - name: "Build and Deploy Debian 9 jdk21 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk21 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21 && pwd && make build && make deploy - name: "Build and Deploy Debian 9 jdk22 Image:" - run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk22 && pwd && make build && make deploy + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22 && pwd && make build && make deploy ################################################################################## @@ -105,3 +105,93 @@ jobs: run: make docker-clean ################################################################################## + + - name: "Build and Deploy Debian 9 NodeJS LTS Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS Current Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current && pwd && make build && make deploy + +################################################################################## + + - name: "Build and Deploy Debian 9 NodeJS 0.12 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 4 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 5 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 6 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 7 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 8 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 9 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 9 NodeJS 10 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 11 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 12 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 13 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 14 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 15 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 9 NodeJS 16 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 17 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 18 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 19 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 20 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 21 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 NodeJS 22 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c826f22c..1819f29fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## 2024 * `aug` + * updated `nodejs` and `jdk` images to latest versions. + * added extended `nodejs` and `jdk` base images support. * added `dotnet` base images support. * added `13-trixie` and `sid` - `Debian` base images support. * fixed `Makefile`+ gha diff --git a/Makefile b/Makefile index bf9682af5..49f6424bd 100644 --- a/Makefile +++ b/Makefile @@ -301,7 +301,7 @@ ecosystem-images: make ecosystem-apache2-images make ecosystem-testrail-images make ecosystem-torrserver-images - make ecosystem--images + make ecosystem-images make ecosystem-qbittorrent-images make ecosystem-vk2discord-images make ecosystem-postgres-images @@ -329,107 +329,247 @@ ecosystem-debian-images: #################################################################################################################### ecosystem-debian-squeeze-images: + make ecosystem-debian-squeeze-base-images + make ecosystem-debian-squeeze-jdk-images + make ecosystem-debian-squeeze-nodejs-images + +ecosystem-debian-squeeze-base-images: cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/develop && pwd && make build && make deploy - make ecosystem-debian-squeeze-jdk-images ecosystem-debian-squeeze-jdk-images: - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22 && pwd && make build && make deploy + +ecosystem-debian-wheezy-nodejs-images: + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22 && pwd && make build && make deploy #################################################################################################################### ecosystem-debian-wheezy-images: + make ecosystem-debian-wheezy-base-images + make ecosystem-debian-wheezy-jdk-images + make ecosystem-debian-wheezy-nodejs-images + +ecosystem-debian-wheezy-base-images: cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/develop && pwd && make build && make deploy - make ecosystem-debian-wheezy-jdk-images ecosystem-debian-wheezy-jdk-images: - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22 && pwd && make build && make deploy + +ecosystem-debian-wheezy-nodejs-images: + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22 && pwd && make build && make deploy #################################################################################################################### ecosystem-debian-jessie-images: + make ecosystem-debian-jessie-base-images + make ecosystem-debian-jessie-jdk-images + make ecosystem-debian-jessie-nodejs-images + +ecosystem-debian-jessie-base-images: cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/develop && pwd && make build && make deploy - make ecosystem-debian-jessie-jdk-images ecosystem-debian-jessie-jdk-images: - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22 && pwd && make build && make deploy + +ecosystem-debian-jessie-nodejs-images: + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22 && pwd && make build && make deploy #################################################################################################################### ecosystem-debian-stretch-images: + make ecosystem-debian-stretch-base-images + make ecosystem-debian-stretch-jdk-images + make ecosystem-debian-stretch-nodejs-images + +ecosystem-debian-stretch-base-images: cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/develop && pwd && make build && make deploy - make ecosystem-debian-stretch-jdk-images ecosystem-debian-stretch-jdk-images: - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22 && pwd && make build && make deploy + +ecosystem-debian-buster-nodejs-images: + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22 && pwd && make build && make deploy #################################################################################################################### ecosystem-debian-buster-images: + make ecosystem-debian-buster-base-images + make ecosystem-debian-buster-jdk-images + make ecosystem-debian-buster-nodejs-images + +ecosystem-debian-buster-base-images: cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/develop && pwd && make build && make deploy - make ecosystem-debian-buster-jdk-images ecosystem-debian-buster-jdk-images: - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk6 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk7 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk8 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk16 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk17 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk18 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk19 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk20 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk21 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22 && pwd && make build && make deploy + +ecosystem-debian-buster-nodejs-images: + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22 && pwd && make build && make deploy #################################################################################################################### diff --git a/README.md b/README.md index d5d6195bf..44d6b8e35 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,17 @@ For more information - look at `Support Document` to replace this tags and image ## CI Status -| Debian | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.6.yml?label=6&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.6.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.7.yml?label=7&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.7.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.8.yml?label=8&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.8.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.9.yml?label=9&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.9.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.10.yml?label=10&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.10.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.11.yml?label=11&logo=Debian%2011%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.11.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.12.yml?label=12&logo=Debian%2012%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.12.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.13.yml?label=13&logo=Debian%2013%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.13.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.sid.yml?label=SID&logo=Debian%20sid%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.sid.yml) | -| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| **codename** | squeeze | wheezy | jessie | stretch | buster | **bullseye** | **bookworm** | trixie | sid | -| **status** | deprecated | deprecated | deprecated | deprecated | deprecated | **LTS** | **Current** | testing | unstable | +| Debian | **codename** | **status** | **End of life date (with LTS, not ELTS)** +|:-------------|:-------------|:-------------|:-------------| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.sid.yml?label=SID&logo=Debian%20sid%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.sid.yml) | `sid` | `unstable` | `none` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.13.yml?label=13&logo=Debian%2013%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.13.yml) | `trixie` | `testing` | `none yet` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.12.yml?label=12&logo=Debian%2012%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.12.yml) | **`bookworm`** | **`Stable`** | `2028-06-30` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.11.yml?label=11&logo=Debian%2011%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.11.yml) | **`bullseye`** | **`LTS`**, `oldstable`| `2026-08-31` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.10.yml?label=10&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.10.yml) | `buster` | `deprecated`, `oldoldstable `| `2024-06-30` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.9.yml?label=9&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.9.yml) | `stretch` | `deprecated` | `2022-07-01` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.8.yml?label=8&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.8.yml) | `jessie` | `deprecated` | `2020-06-30` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.7.yml?label=7&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.7.yml) | `wheezy` | `deprecated` | `2018-05-31` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.6.yml?label=6&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.6.yml) | `squeeze` | `deprecated` | `2016-02-29` | ## Description A collection of docker images for production use. This repo contains 2 types of images - `advanced` and `ecosystem`. We support `linux x86_64` docker engine (`Win64` is still in the ***testing*** stage). @@ -34,15 +41,14 @@ A collection of docker images for production use. This repo contains 2 types of | `Advanced` | `EcoSystem` | |:-------------|:-------------| -| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.vscode.images.yml?label=EpicMorg%20Advanced%20Images&logo=EpicMorg%20Advanced%20Images&style=flat-square)](https://github.com/EpicMorg/docker/blob/master/.github/workflows/epicmorg.advanced.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.giltab.runners.yml?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.giltab.runners.yml) +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.vscode.images.yml?label=EpicMorg%20Advanced%20Images&logo=EpicMorg%20Advanced%20Images&style=flat-square)](https://github.com/EpicMorg/docker/blob/master/.github/workflows/epicmorg.advanced.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.postgresql.yml?label=PostgreSQL%20Images&logo=PostgreSQL%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.postgresql.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.nextcloud.images.yml?label=Nextcloud%20Images&logo=Nextcloud%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.nextcloud.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.web.yml?label=Web%20Images&logo=Web%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.web.yml) -| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.testrail.yml?label=Testrail%20Images&logo=Testrail%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.testrail.yml) +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.zabbix.images.yml?label=Zabbix%20Images&logo=Zabbix%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.zabbix.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.testrail.yml?label=Testrail%20Images&logo=Testrail%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.testrail.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.vscode.images.yml?label=Vscode%20Server%20Images&logo=Vscode%20Server%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.vscode.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.teamcity.agents.yml?label=TeamCity%20Agents%20Images&logo=TeamCity%20Agents%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.teamcity.agents.yml) -| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.advanced.zabbix.images.yml?label=Debian%20Zabbix%20Images&logo=Debian%20Python%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.advanced.zabbix.images.yml) | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosysctem.misc.images.yml?label=EcoSystem%20Misc%20Images&logo=EcoSystem%20Misc%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosysctem.misc.images.yml) +| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.ecosysctem.misc.images.yml?label=EcoSystem%20Misc%20Images&logo=EcoSystem%20Misc%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.ecosysctem.misc.images.yml) | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.current.atlassian.yml?label=Atlassian%20Images&logo=Atlassian%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.current.atlassian.yml) | `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.perforce.yml?label=Perfocre%20Images&logo=Perfocre%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.perforce.yml) -| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.postgresql.yml?label=PostgreSQL%20Images&logo=PostgreSQL%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.postgresql.yml) - +| `-` | [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.giltab.runners.yml?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.giltab.runners.yml) # Few popular products [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B81CUI4) diff --git a/SUPPORT.md b/SUPPORT.md index f07fef7ff..3f1a30479 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -2,10 +2,17 @@ `timestamp: 2024/08/12` -| Debian | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | sid | -| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| **codename** | squeeze | wheezy | jessie | stretch | buster | **bullseye** | **bookworm** | trixie | sid | -| **status** | deprecated | deprecated | deprecated | deprecated | deprecated | **LTS** | **Current** | testing | unstable | +| Debian | **codename** | **status** | +|:-------------|:-------------|:-------------| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.sid.yml?label=SID&logo=Debian%20sid%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.sid.yml) | `sid` | `unstable` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.13.yml?label=13&logo=Debian%2013%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.13.yml) | `trixie` | `testing` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.12.yml?label=12&logo=Debian%2012%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.12.yml) | **`bookworm`** | **`Stable`** | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.11.yml?label=11&logo=Debian%2011%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.11.yml) | **`bullseye`** | **`LTS`** \ `oldstable`| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.10.yml?label=10&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.10.yml) | `buster` | `deprecated`, `oldoldstable `| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.9.yml?label=9&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.9.yml) | `stretch` | `deprecated` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.8.yml?label=8&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.8.yml) | `jessie` | `deprecated` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.7.yml?label=7&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.7.yml) | `wheezy` | `deprecated` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.6.yml?label=6&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.6.yml) | `squeeze` | `deprecated` | ## Introduction diff --git a/SUPPORT.ru.md b/SUPPORT.ru.md index 42d9760bb..672957c74 100644 --- a/SUPPORT.ru.md +++ b/SUPPORT.ru.md @@ -2,10 +2,18 @@ `timestamp: 2024/08/12` -| Debian | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | sid | -| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| **codename** | squeeze | wheezy | jessie | stretch | buster | **bullseye** | **bookworm** | trixie | sid | -| **status** | deprecated | deprecated | deprecated | deprecated | deprecated | **LTS** | **Current** | testing | unstable | +| Debian | **codename** | **status** | +|:-------------|:-------------|:-------------| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.sid.yml?label=SID&logo=Debian%20sid%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.sid.yml) | `sid` | `unstable` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.13.yml?label=13&logo=Debian%2013%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.13.yml) | `trixie` | `testing` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.12.yml?label=12&logo=Debian%2012%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.12.yml) | **`bookworm`** | **`Stable`** | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.11.yml?label=11&logo=Debian%2011%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.11.yml) | **`bullseye`** | **`LTS`** \ `oldstable`| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.10.yml?label=10&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.10.yml) | `buster` | `deprecated`, `oldoldstable `| +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.9.yml?label=9&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.9.yml) | `stretch` | `deprecated` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.8.yml?label=8&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.8.yml) | `jessie` | `deprecated` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.7.yml?label=7&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.7.yml) | `wheezy` | `deprecated` | +| [![GHA](https://img.shields.io/github/actions/workflow/status/EpicMorg/docker/epicmorg.base.images.debian.6.yml?label=6&logo=Debian%20Legacy%20Images&style=flat-square)](https://github.com/EpicMorg/docker/actions/workflows/epicmorg.base.images.debian.6.yml) | `squeeze` | `deprecated` | + ## Введение diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile index cbd2cb418..138720151 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile @@ -2,26 +2,6 @@ FROM epicmorg/debian:squeeze LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -################################################################## -# ARGuments -################################################################## -ENV BuildDocker true -ENV GOPATH=/usr/local/go -ENV CARGOPATH=/root/.cargo -ENV FLUTTERPATH=/usr/local/flutter -ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" -ARG BUILDS_DIR=/builds -ARG SRC_DIR=${BUILDS_DIR}/src -ARG EXPORT_DIR=${BUILDS_DIR}/export -ARG NINJA_ARCH=linux -ARG NINJA_VERSION=latest -ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} - -################################################################## -# Files and folders -################################################################## -RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} - ################################################################## # update lists ################################################################## @@ -32,7 +12,7 @@ RUN apt-get update && \ # installing ################################################################## RUN apt-get update && \ - apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + apt-get install -y --allow-unauthenticated --no-install-recommends \ build-essential \ autoconf-archive \ gnu-standards \ diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Dockerfile index deff94c26..556f96507 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Dockerfile.develop index 718a8fe2d..2c6b2411c 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk20/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Dockerfile index 13b064bce..7a6d292b4 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Dockerfile.develop index abff5747a..22ad342fb 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk21/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Dockerfile index c7e13b5d4..757e2b588 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Dockerfile.develop index 7f9a8159c..47acd1c59 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk22/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Dockerfile index 27a8cf583..26395c0c1 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Dockerfile.develop index 9b48650c4..3952caae1 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile index b82ab8280..a419e2549 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile @@ -54,7 +54,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio # installing utils ################################################################## RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ - apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + apt-get install -y --allow-unauthenticated --no-install-recommends \ acl \ bzip2 \ cmatrix \ @@ -132,7 +132,7 @@ RUN git config --global http.sslVerify false # installing fs-tools ################################################################## #RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ -# apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ +# apt-get install -y --allow-unauthenticated --no-install-recommends \ # btrfs-tools \ # exfat-utils \ # e2fsprogs \ diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Dockerfile new file mode 100644 index 000000000..25ae08664 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Dockerfile.develop new file mode 100644 index 000000000..374ee9a86 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/docker-compose.yml new file mode 100644 index 000000000..e6b23f065 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/current/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs-current" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs-current" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Dockerfile new file mode 100644 index 000000000..9e29661e5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Dockerfile.develop new file mode 100644 index 000000000..fb1a96983 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/docker-compose.yml new file mode 100644 index 000000000..fb4d918f8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/lts/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs-lts" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs-lts" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Dockerfile new file mode 100644 index 000000000..736ba931b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Dockerfile @@ -0,0 +1,46 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Dockerfile.develop new file mode 100644 index 000000000..ca86567cc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Dockerfile.develop @@ -0,0 +1,46 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml new file mode 100644 index 000000000..b33c1d00a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs0.12" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs0.12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Dockerfile new file mode 100644 index 000000000..e0b2e83e7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Dockerfile.develop new file mode 100644 index 000000000..ded7f2c25 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml new file mode 100644 index 000000000..bb60ab593 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs10" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs10" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Dockerfile new file mode 100644 index 000000000..53e35dfa0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Dockerfile.develop new file mode 100644 index 000000000..0c762e9bd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml new file mode 100644 index 000000000..42ef351ee --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs11" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Dockerfile new file mode 100644 index 000000000..57441fd82 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Dockerfile.develop new file mode 100644 index 000000000..76a911c98 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/docker-compose.yml new file mode 100644 index 000000000..b59b5d3f4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs12" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Dockerfile new file mode 100644 index 000000000..a86217667 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Dockerfile.develop new file mode 100644 index 000000000..a51db98d9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/docker-compose.yml new file mode 100644 index 000000000..a4fdb165b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node13/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs13" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs13" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Dockerfile new file mode 100644 index 000000000..77fdaebe9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Dockerfile.develop new file mode 100644 index 000000000..a6ba01098 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/docker-compose.yml new file mode 100644 index 000000000..5df9263c8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node14/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs14" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs14" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Dockerfile new file mode 100644 index 000000000..77ddd339e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Dockerfile.develop new file mode 100644 index 000000000..58189e624 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/docker-compose.yml new file mode 100644 index 000000000..bfd774a4d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node15/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs15" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs15" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Dockerfile new file mode 100644 index 000000000..8a076901b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Dockerfile.develop new file mode 100644 index 000000000..2611d2d96 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/docker-compose.yml new file mode 100644 index 000000000..89e843fa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs16" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Dockerfile new file mode 100644 index 000000000..e240d3029 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Dockerfile.develop new file mode 100644 index 000000000..2531cf401 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/docker-compose.yml new file mode 100644 index 000000000..30f96a900 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs17" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Dockerfile new file mode 100644 index 000000000..635bcbf09 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Dockerfile.develop new file mode 100644 index 000000000..20040a76d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/docker-compose.yml new file mode 100644 index 000000000..6dd6c4a71 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs18" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Dockerfile new file mode 100644 index 000000000..e635c9e2f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Dockerfile.develop new file mode 100644 index 000000000..cd676cc3b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/docker-compose.yml new file mode 100644 index 000000000..d936de512 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs19" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Dockerfile new file mode 100644 index 000000000..9e29661e5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Dockerfile.develop new file mode 100644 index 000000000..fb1a96983 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/docker-compose.yml new file mode 100644 index 000000000..bc96fb77b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs20" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Dockerfile new file mode 100644 index 000000000..1db1ba21b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Dockerfile.develop new file mode 100644 index 000000000..07f88146d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/docker-compose.yml new file mode 100644 index 000000000..c507f567a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs21" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Dockerfile new file mode 100644 index 000000000..25ae08664 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Dockerfile.develop new file mode 100644 index 000000000..374ee9a86 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/docker-compose.yml new file mode 100644 index 000000000..69f9b15d6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs22" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Dockerfile new file mode 100644 index 000000000..a9ee6f7cc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Dockerfile.develop new file mode 100644 index 000000000..76f1de014 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml new file mode 100644 index 000000000..fe8fe2de0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs4" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs4" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Dockerfile new file mode 100644 index 000000000..cc16096ff --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Dockerfile.develop new file mode 100644 index 000000000..2e379904d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml new file mode 100644 index 000000000..f188e4528 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs5" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs5" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Dockerfile new file mode 100644 index 000000000..48ba14fdb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Dockerfile.develop new file mode 100644 index 000000000..6f5a634b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml new file mode 100644 index 000000000..e6c3c346b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs6" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Dockerfile new file mode 100644 index 000000000..1fd306f19 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Dockerfile.develop new file mode 100644 index 000000000..dc5857a38 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml new file mode 100644 index 000000000..29ea249e4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs7" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Dockerfile new file mode 100644 index 000000000..dc8ce14ce --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Dockerfile.develop new file mode 100644 index 000000000..3f61ae1b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml new file mode 100644 index 000000000..296bdf9d0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs8" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Dockerfile new file mode 100644 index 000000000..290ad99bc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Dockerfile.develop new file mode 100644 index 000000000..a3b6ce927 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Makefile rename to linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/Makefile diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/README.md b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml new file mode 100644 index 000000000..b76df69cc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-nodejs9" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-nodejs9" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile index 13a215d83..e4d7d28c8 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile @@ -45,7 +45,7 @@ RUN apt-get update && \ # installing utils ################################################################## RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ - apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \ + apt-get install -y --allow-unauthenticated --no-install-recommends \ apt-transport-https \ apt-utils \ gnupg \ diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile index 6ce66f09b..d60efa5e7 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile @@ -2,26 +2,6 @@ FROM epicmorg/debian:wheezy LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -################################################################## -# ARGuments -################################################################## -ENV BuildDocker true -ENV GOPATH=/usr/local/go -ENV CARGOPATH=/root/.cargo -ENV FLUTTERPATH=/usr/local/flutter -ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" -ARG BUILDS_DIR=/builds -ARG SRC_DIR=${BUILDS_DIR}/src -ARG EXPORT_DIR=${BUILDS_DIR}/export -ARG NINJA_ARCH=linux -ARG NINJA_VERSION=latest -ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} - -################################################################## -# Files and folders -################################################################## -RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} - ################################################################## # update lists ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Dockerfile index ebc94dbc3..23bc3a7a5 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Dockerfile.develop index 48395cf2c..73fb577cb 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk11/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk16/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk17/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk18/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk19/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk20/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Dockerfile index 491aee24a..eca51e0e8 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Dockerfile.develop index a738c6e07..fffea1db7 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk21/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Dockerfile index c306b7601..098797c50 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Dockerfile.develop index 4cfcddde6..9309869ac 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk22/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk6/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk7/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Dockerfile index 4b79f0346..0675b69ed 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Dockerfile.develop index 7594a6f4a..68a8f4c5f 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/07-wheezy/jdk/jdk8/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Dockerfile new file mode 100644 index 000000000..b8a76ac12 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Dockerfile.develop new file mode 100644 index 000000000..7d52d84b9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk11/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/docker-compose.yml new file mode 100644 index 000000000..42f37530c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/current/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs-current" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs-current" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Dockerfile new file mode 100644 index 000000000..22422a785 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Dockerfile.develop new file mode 100644 index 000000000..757712f65 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/docker-compose.yml new file mode 100644 index 000000000..dc581244c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/lts/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs-lts" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs-lts" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Dockerfile new file mode 100644 index 000000000..2ce8aa08a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Dockerfile @@ -0,0 +1,46 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Dockerfile.develop new file mode 100644 index 000000000..3d1fc7f85 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Dockerfile.develop @@ -0,0 +1,46 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk17/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml new file mode 100644 index 000000000..e79aaacf2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node0.12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs0.12" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs0.12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Dockerfile new file mode 100644 index 000000000..e6859361a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Dockerfile.develop new file mode 100644 index 000000000..5f550c88f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk18/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml new file mode 100644 index 000000000..6fe3f3e50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node10/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs10" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs10" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Dockerfile new file mode 100644 index 000000000..82a3b62da --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Dockerfile.develop new file mode 100644 index 000000000..9d6c92bb5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk19/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml new file mode 100644 index 000000000..6f2f0dd36 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs11" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Dockerfile new file mode 100644 index 000000000..058904d05 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Dockerfile.develop new file mode 100644 index 000000000..8ff2ea28d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk20/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/docker-compose.yml new file mode 100644 index 000000000..258dc1367 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs12" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Dockerfile new file mode 100644 index 000000000..82fc59a78 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Dockerfile.develop new file mode 100644 index 000000000..022aa7b78 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk21/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/docker-compose.yml new file mode 100644 index 000000000..818bf276e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node13/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs13" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs13" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Dockerfile new file mode 100644 index 000000000..d94b7dc9d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Dockerfile.develop new file mode 100644 index 000000000..8559e34bd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk22/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/docker-compose.yml new file mode 100644 index 000000000..4826e6a5b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node14/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs14" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs14" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Dockerfile new file mode 100644 index 000000000..27bd39522 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Dockerfile.develop new file mode 100644 index 000000000..b550d3a82 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk6/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/docker-compose.yml new file mode 100644 index 000000000..e0ef3ba5d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node15/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs15" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs15" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Dockerfile new file mode 100644 index 000000000..7a42cbd1c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Dockerfile.develop new file mode 100644 index 000000000..cbf4335d4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk7/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/docker-compose.yml new file mode 100644 index 000000000..f54b58596 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs16" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Dockerfile new file mode 100644 index 000000000..fc3e5b691 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Dockerfile.develop new file mode 100644 index 000000000..970184f37 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk8/Makefile rename to linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/Makefile diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/docker-compose.yml new file mode 100644 index 000000000..012b2c388 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs17" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Dockerfile new file mode 100644 index 000000000..f443f3882 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Dockerfile.develop new file mode 100644 index 000000000..53ed31d53 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/docker-compose.yml new file mode 100644 index 000000000..e6f7bfc9b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs18" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Dockerfile new file mode 100644 index 000000000..1ab4daba6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Dockerfile.develop new file mode 100644 index 000000000..0dd74a480 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/docker-compose.yml new file mode 100644 index 000000000..908257340 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs19" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Dockerfile new file mode 100644 index 000000000..22422a785 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Dockerfile.develop new file mode 100644 index 000000000..757712f65 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/docker-compose.yml new file mode 100644 index 000000000..77f550cbf --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs20" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Dockerfile new file mode 100644 index 000000000..0584ea353 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Dockerfile.develop new file mode 100644 index 000000000..60e638bde --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/docker-compose.yml new file mode 100644 index 000000000..55aea8622 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs21" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Dockerfile new file mode 100644 index 000000000..b8a76ac12 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Dockerfile.develop new file mode 100644 index 000000000..7d52d84b9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/docker-compose.yml new file mode 100644 index 000000000..1ad88e20c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs22" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Dockerfile new file mode 100644 index 000000000..12d9d968b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Dockerfile.develop new file mode 100644 index 000000000..c87e7c091 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml new file mode 100644 index 000000000..c99047ec0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node4/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs4" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs4" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Dockerfile new file mode 100644 index 000000000..3ed494579 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Dockerfile.develop new file mode 100644 index 000000000..319e28e1e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml new file mode 100644 index 000000000..f4ef7d50d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node5/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs5" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs5" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Dockerfile new file mode 100644 index 000000000..da03d9698 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Dockerfile.develop new file mode 100644 index 000000000..18ed456b1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml new file mode 100644 index 000000000..8491018bc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs6" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Dockerfile new file mode 100644 index 000000000..abfec8a53 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Dockerfile.develop new file mode 100644 index 000000000..304c94d85 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml new file mode 100644 index 000000000..4e6bdc98e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs7" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Dockerfile new file mode 100644 index 000000000..17392be81 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Dockerfile.develop new file mode 100644 index 000000000..1bbe1d59f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml new file mode 100644 index 000000000..e30c292e7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs8" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Dockerfile new file mode 100644 index 000000000..96c2fd1c6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Dockerfile.develop new file mode 100644 index 000000000..b859e9d24 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/README.md b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml new file mode 100644 index 000000000..241003367 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/nodejs/node9/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-nodejs9" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-nodejs9" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile index 6f681a247..52adc4ef5 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile @@ -5,22 +5,37 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ENV BuildDocker true -ENV GOPATH=/usr/local/go -ENV CARGOPATH=/root/.cargo -ENV FLUTTERPATH=/usr/local/flutter -ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" -ARG BUILDS_DIR=/builds -ARG SRC_DIR=${BUILDS_DIR}/src -ARG EXPORT_DIR=${BUILDS_DIR}/export -ARG NINJA_ARCH=linux -ARG NINJA_VERSION=latest -ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} +# /etc/ld.so.conf.d/ +ARG LD_CONF_DIR=/etc/ld.so.conf.d/ -################################################################## -# Files and folders -################################################################## -RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} +# cmake compiller +ENV CMAKE_VERSION=3.30.2 +ENV CMAKE_DIR=${EMG_LOCAL_BASE_DIR}/cmake/${CMAKE_VERSION} +ARG CMAKE_BIN_DIR=${CMAKE_DIR}/bin +ARG CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz +ARG CMAKE_TEMP=/tmp/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz + +# flutter source tarball +ENV FLUTTER_VERSION=3.22.3 +ENV FLUTTER_CHANNEL=stable +ENV FLUTTER_DIR=${EMG_LOCAL_BASE_DIR}/flutter/${FLUTTER_VERSION} +ARG FLUTTER_BIN_DIR=${FLUTTER_DIR}/bin +ARG FLUTTER_DOWNLOAD_URL=https://storage.googleapis.com/flutter_infra_release/releases/${FLUTTER_CHANNEL}/linux/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz +ARG FLUTTER_TEMP=/tmp/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz + +# ninja source tarball +ENV NINJA_VERSION=1.12.1 +ENV NINJA_DIR=${EMG_LOCAL_BASE_DIR}/ninja/${NINJA_VERSION} +ARG NINJA_BIN_DIR=${NINJA_DIR}/bin +ARG NINJA_DOWNLOAD_URL=https://github.com/ninja-build/ninja/releases/download/v${NINJA_VERSION}/ninja-linux.zip +ARG NINJA_TEMP=/tmp/ninja-linux.zip + +# GO source tarball +ENV GO_VERSION=1.22.5 +ENV GO_DIR=${EMG_LOCAL_BASE_DIR}/go/${GO_VERSION} +ARG GO_BIN_DIR=${GO_DIR}/bin +ARG GO_DOWNLOAD_URL=https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz +ARG GO_TEMP=/tmp/go${GO_VERSION}.linux-amd64.tar.gz ################################################################## # update lists @@ -113,22 +128,94 @@ RUN apt-get update && \ ################################################################## # Rust compillers ################################################################## -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile complete --default-toolchain stable --verbose -RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n" +ENV CARGO_HOME=${EMG_LOCAL_BASE_DIR}/cargo +ENV RUSTUP_HOME=${EMG_LOCAL_BASE_DIR}/rustup +ARG CARGO_BIN=${CARGO_HOME}/bin + +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile complete --default-toolchain stable --verbose + +ENV PATH="$CARGO_HOME/bin:${PATH}" + +RUN echo "=============================================" && \ + echo cargo $(cargo --version) && \ + echo rustc $(rustc --version) && \ + echo rustup $(rustup --version) && \ + echo "=============================================" + +################################################################## +# CMake +################################################################## +RUN mkdir -p ${CMAKE_DIR} +ADD ${CMAKE_DOWNLOAD_URL} /tmp + +RUN tar -xf ${CMAKE_TEMP} --directory ${CMAKE_DIR} --strip-components=1 && \ + chmod +x ${CMAKE_BIN_DIR}/ccmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake-gui && \ + chmod +x ${CMAKE_BIN_DIR}/cpack && \ + chmod +x ${CMAKE_BIN_DIR}/ctest + +ENV PATH="${CMAKE_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo $(cmake --version) && \ + echo "=============================================" ################################################################## # Flutter SDK ################################################################## -RUN git clone https://github.com/flutter/flutter.git -b stable /usr/local/flutter -RUN flutter precache -RUN flutter config --no-analytics -RUN dart --disable-analytics -RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n" +RUN mkdir -p ${FLUTTER_DIR} +ADD ${FLUTTER_DOWNLOAD_URL} /tmp + +RUN tar -xf ${FLUTTER_TEMP} --directory ${FLUTTER_DIR} --strip-components=1 && \ + chmod +x ${FLUTTER_BIN_DIR}/dart && \ + chmod +x ${FLUTTER_BIN_DIR}/flutter && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/shared.sh && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/update_dart_sdk.sh + +ENV PATH="${FLUTTER_BIN_DIR}:${PATH}" + +RUN git config --global --add safe.directory ${FLUTTER_DIR} && \ + flutter precache && \ + flutter config --no-analytics && \ + dart --disable-analytics + +RUN echo "=============================================" && \ + echo dart $(dart --version) && \ + echo flutter $(flutter --version) && \ + echo "=============================================" ################################################################## # GO compillers ################################################################## -RUN printf "\n--------------------------------\n$(go version)\n--------------------------------\n\n" +RUN mkdir -p ${GO_DIR} +ADD ${GO_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${GO_TEMP} --directory ${GO_DIR} --strip-components=1 && \ + chmod +x ${GO_BIN_DIR}/go && \ + chmod +x ${GO_BIN_DIR}/gofmt + +ENV GOPATH=${GO_DIR} +ENV PATH="${GO_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo go $(go version) && \ + echo "=============================================" + +################################################################## +# Get NINJA binary +################################################################## +RUN mkdir -p ${NINJA_BIN_DIR} +ADD ${NINJA_DOWNLOAD_URL} /tmp + +RUN 7zz x ${NINJA_TEMP} -o${NINJA_BIN_DIR} -y && \ + chmod +x ${NINJA_BIN_DIR}/ninja + +ENV PATH="${NINJA_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo ninja $(ninja --version) && \ + echo "=============================================" ################################################################## # other customisations diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Dockerfile index 93a318758..7411544ff 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Dockerfile.develop index 7a9c2fb30..c801363e1 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk11/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk11/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk16/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk17/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk17/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk18/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk18/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk19/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk20/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk20/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Dockerfile index be3054297..d735edcf3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Dockerfile.develop index ced77d47c..fb8723c6f 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk21/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk21/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Dockerfile index c4b9a4c82..18589023c 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Dockerfile.develop index a429c7bff..db8d7b9c2 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk22/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk22/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk6/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk6/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk7/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk7/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Dockerfile index 8be619c20..b424eb384 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Dockerfile.develop index a4015d0e1..39d75f95c 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk8/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk/jdk8/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Dockerfile new file mode 100644 index 000000000..f0d0a6561 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Dockerfile.develop new file mode 100644 index 000000000..8c4e23f20 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/docker-compose.yml new file mode 100644 index 000000000..29364a664 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/current/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs-current" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs-current" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Dockerfile new file mode 100644 index 000000000..0a747889b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Dockerfile.develop new file mode 100644 index 000000000..613ce3229 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/docker-compose.yml new file mode 100644 index 000000000..b0db5e36b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/lts/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs-lts" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs-lts" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Dockerfile new file mode 100644 index 000000000..17974950d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Dockerfile @@ -0,0 +1,46 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Dockerfile.develop new file mode 100644 index 000000000..c811fbb88 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Dockerfile.develop @@ -0,0 +1,46 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml new file mode 100644 index 000000000..f2192c863 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node0.12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs0.12" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs0.12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Dockerfile new file mode 100644 index 000000000..a5fb60e8c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Dockerfile.develop new file mode 100644 index 000000000..cf6a77dfc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml new file mode 100644 index 000000000..c935d812d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node10/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs10" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs10" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Dockerfile new file mode 100644 index 000000000..69504e83d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Dockerfile.develop new file mode 100644 index 000000000..c6db6bad0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml new file mode 100644 index 000000000..eefb1b9be --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs11" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Dockerfile new file mode 100644 index 000000000..59a03b2de --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Dockerfile.develop new file mode 100644 index 000000000..0ba634b80 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml new file mode 100644 index 000000000..6704e8f74 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs12" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Dockerfile new file mode 100644 index 000000000..7a607c4eb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Dockerfile.develop new file mode 100644 index 000000000..7d5d6146f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml new file mode 100644 index 000000000..17aec5db8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node13/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs13" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs13" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Dockerfile new file mode 100644 index 000000000..4e6d55c72 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Dockerfile.develop new file mode 100644 index 000000000..8ce4661d6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml new file mode 100644 index 000000000..bd85d3ce3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node14/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs14" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs14" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Dockerfile new file mode 100644 index 000000000..9ac279039 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Dockerfile.develop new file mode 100644 index 000000000..7a4bff7ed --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml new file mode 100644 index 000000000..5e31cb165 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node15/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs15" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs15" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Dockerfile new file mode 100644 index 000000000..51f65528f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Dockerfile.develop new file mode 100644 index 000000000..adda9fe12 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml new file mode 100644 index 000000000..9b90912a0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs16" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Dockerfile new file mode 100644 index 000000000..a73db7fee --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Dockerfile.develop new file mode 100644 index 000000000..0a433abdc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml new file mode 100644 index 000000000..dce01198c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs17" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Dockerfile new file mode 100644 index 000000000..0b310c45e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Dockerfile.develop new file mode 100644 index 000000000..0f0ca119d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/docker-compose.yml new file mode 100644 index 000000000..e39215c1e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs18" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Dockerfile new file mode 100644 index 000000000..52eac47fe --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Dockerfile.develop new file mode 100644 index 000000000..c2a88adf2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/docker-compose.yml new file mode 100644 index 000000000..9ab9230a2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs19" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Dockerfile new file mode 100644 index 000000000..0a747889b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Dockerfile.develop new file mode 100644 index 000000000..613ce3229 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/docker-compose.yml new file mode 100644 index 000000000..48096c940 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs20" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Dockerfile new file mode 100644 index 000000000..bb7b1c4fb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Dockerfile.develop new file mode 100644 index 000000000..2ca548192 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/docker-compose.yml new file mode 100644 index 000000000..6caba70fd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs21" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Dockerfile new file mode 100644 index 000000000..f0d0a6561 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Dockerfile.develop new file mode 100644 index 000000000..8c4e23f20 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/docker-compose.yml new file mode 100644 index 000000000..e9d26008a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs22" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Dockerfile new file mode 100644 index 000000000..a05f7cb8f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Dockerfile.develop new file mode 100644 index 000000000..8a0a5888a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml new file mode 100644 index 000000000..aae312785 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node4/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs4" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs4" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Dockerfile new file mode 100644 index 000000000..206436c5e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Dockerfile.develop new file mode 100644 index 000000000..4fc1919e2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml new file mode 100644 index 000000000..6cc0874cf --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node5/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs5" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs5" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Dockerfile new file mode 100644 index 000000000..0724a152c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Dockerfile.develop new file mode 100644 index 000000000..8e881fdb5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml new file mode 100644 index 000000000..e0feed6fd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs6" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Dockerfile new file mode 100644 index 000000000..073f66999 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Dockerfile.develop new file mode 100644 index 000000000..ed744b163 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml new file mode 100644 index 000000000..bffd6a4bb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs7" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Dockerfile new file mode 100644 index 000000000..3f8675cde --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Dockerfile.develop new file mode 100644 index 000000000..98d6e6a88 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml new file mode 100644 index 000000000..b9bd874d3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs8" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Dockerfile new file mode 100644 index 000000000..39ee9a68a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Dockerfile.develop new file mode 100644 index 000000000..09ff5966d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/README.md b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml new file mode 100644 index 000000000..f8d6cfb00 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/nodejs/node9/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-nodejs9" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-nodejs9" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile index 92e84179b..b979edb01 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile @@ -5,22 +5,37 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ENV BuildDocker true -ENV GOPATH=/usr/local/go -ENV CARGOPATH=/root/.cargo -ENV FLUTTERPATH=/usr/local/flutter -ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" -ARG BUILDS_DIR=/builds -ARG SRC_DIR=${BUILDS_DIR}/src -ARG EXPORT_DIR=${BUILDS_DIR}/export -ARG NINJA_ARCH=linux -ARG NINJA_VERSION=latest -ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} +# /etc/ld.so.conf.d/ +ARG LD_CONF_DIR=/etc/ld.so.conf.d/ -################################################################## -# Files and folders -################################################################## -RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} +# cmake compiller +ENV CMAKE_VERSION=3.30.2 +ENV CMAKE_DIR=${EMG_LOCAL_BASE_DIR}/cmake/${CMAKE_VERSION} +ARG CMAKE_BIN_DIR=${CMAKE_DIR}/bin +ARG CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz +ARG CMAKE_TEMP=/tmp/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz + +# flutter source tarball +ENV FLUTTER_VERSION=3.22.3 +ENV FLUTTER_CHANNEL=stable +ENV FLUTTER_DIR=${EMG_LOCAL_BASE_DIR}/flutter/${FLUTTER_VERSION} +ARG FLUTTER_BIN_DIR=${FLUTTER_DIR}/bin +ARG FLUTTER_DOWNLOAD_URL=https://storage.googleapis.com/flutter_infra_release/releases/${FLUTTER_CHANNEL}/linux/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz +ARG FLUTTER_TEMP=/tmp/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz + +# ninja source tarball +ENV NINJA_VERSION=1.12.1 +ENV NINJA_DIR=${EMG_LOCAL_BASE_DIR}/ninja/${NINJA_VERSION} +ARG NINJA_BIN_DIR=${NINJA_DIR}/bin +ARG NINJA_DOWNLOAD_URL=https://github.com/ninja-build/ninja/releases/download/v${NINJA_VERSION}/ninja-linux.zip +ARG NINJA_TEMP=/tmp/ninja-linux.zip + +# GO source tarball +ENV GO_VERSION=1.22.5 +ENV GO_DIR=${EMG_LOCAL_BASE_DIR}/go/${GO_VERSION} +ARG GO_BIN_DIR=${GO_DIR}/bin +ARG GO_DOWNLOAD_URL=https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz +ARG GO_TEMP=/tmp/go${GO_VERSION}.linux-amd64.tar.gz ################################################################## # update lists @@ -113,32 +128,94 @@ RUN apt-get update && \ ################################################################## # Rust compillers ################################################################## -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile complete --default-toolchain stable --verbose -RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n" +ENV CARGO_HOME=${EMG_LOCAL_BASE_DIR}/cargo +ENV RUSTUP_HOME=${EMG_LOCAL_BASE_DIR}/rustup +ARG CARGO_BIN=${CARGO_HOME}/bin + +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile complete --default-toolchain stable --verbose + +ENV PATH="$CARGO_HOME/bin:${PATH}" + +RUN echo "=============================================" && \ + echo cargo $(cargo --version) && \ + echo rustc $(rustc --version) && \ + echo rustup $(rustup --version) && \ + echo "=============================================" + +################################################################## +# CMake +################################################################## +RUN mkdir -p ${CMAKE_DIR} +ADD ${CMAKE_DOWNLOAD_URL} /tmp + +RUN tar -xf ${CMAKE_TEMP} --directory ${CMAKE_DIR} --strip-components=1 && \ + chmod +x ${CMAKE_BIN_DIR}/ccmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake-gui && \ + chmod +x ${CMAKE_BIN_DIR}/cpack && \ + chmod +x ${CMAKE_BIN_DIR}/ctest + +ENV PATH="${CMAKE_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo $(cmake --version) && \ + echo "=============================================" ################################################################## # Flutter SDK ################################################################## -RUN git clone https://github.com/flutter/flutter.git -b stable /usr/local/flutter -RUN flutter precache -RUN flutter config --no-analytics -RUN dart --disable-analytics -RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n" +RUN mkdir -p ${FLUTTER_DIR} +ADD ${FLUTTER_DOWNLOAD_URL} /tmp + +RUN tar -xf ${FLUTTER_TEMP} --directory ${FLUTTER_DIR} --strip-components=1 && \ + chmod +x ${FLUTTER_BIN_DIR}/dart && \ + chmod +x ${FLUTTER_BIN_DIR}/flutter && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/shared.sh && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/update_dart_sdk.sh + +ENV PATH="${FLUTTER_BIN_DIR}:${PATH}" + +RUN git config --global --add safe.directory ${FLUTTER_DIR} && \ + flutter precache && \ + flutter config --no-analytics && \ + dart --disable-analytics + +RUN echo "=============================================" && \ + echo dart $(dart --version) && \ + echo flutter $(flutter --version) && \ + echo "=============================================" ################################################################## # GO compillers ################################################################## -RUN printf "\n--------------------------------\n$(go version)\n--------------------------------\n\n" +RUN mkdir -p ${GO_DIR} +ADD ${GO_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${GO_TEMP} --directory ${GO_DIR} --strip-components=1 && \ + chmod +x ${GO_BIN_DIR}/go && \ + chmod +x ${GO_BIN_DIR}/gofmt + +ENV GOPATH=${GO_DIR} +ENV PATH="${GO_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo go $(go version) && \ + echo "=============================================" ################################################################## # Get NINJA binary ################################################################## -RUN curl -s ${NINJA_RELEASE_URL} | jq -r ".assets[] | select(.name | test(\"${NINJA_ARCH}\")) | .browser_download_url" > /tmp/ninja-url.txt && \ - cat /tmp/ninja-url.txt && \ - cd /tmp && \ - wget -q -c --input-file=/tmp/ninja-url.txt && \ - unzip -o /tmp/ninja-linux.zip -d /bin && \ - printf "\n--------------------------------\nninja version: $(ninja --version)\n--------------------------------\n\n" +RUN mkdir -p ${NINJA_BIN_DIR} +ADD ${NINJA_DOWNLOAD_URL} /tmp + +RUN 7zz x ${NINJA_TEMP} -o${NINJA_BIN_DIR} -y && \ + chmod +x ${NINJA_BIN_DIR}/ninja + +ENV PATH="${NINJA_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo ninja $(ninja --version) && \ + echo "=============================================" ################################################################## # other customisations diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Dockerfile index 829e13020..dabdf3706 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Dockerfile.develop index d903689f5..612e54c73 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk11/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk16/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk17/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk17/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk18/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk19/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk19/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk20/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk20/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Dockerfile index e8d2dca8b..18a8a76ec 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Dockerfile.develop index 6da0802a7..0176f705d 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk21/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk21/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Dockerfile index 393b73e5b..fb2518830 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Dockerfile.develop index ce0ed065b..f45bf9ce8 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk22/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk22/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk6/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk6/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk7/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk7/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Dockerfile index a5f31a858..8c50617be 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Dockerfile.develop index c65625872..efcce5ae9 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/09-stretch/jdk/jdk8/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Dockerfile new file mode 100644 index 000000000..f310fd259 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Dockerfile.develop new file mode 100644 index 000000000..531c1b44f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/docker-compose.yml new file mode 100644 index 000000000..344c7e138 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/current/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs-current" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs-current" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Dockerfile new file mode 100644 index 000000000..c49b1739f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Dockerfile.develop new file mode 100644 index 000000000..3b321efb7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/docker-compose.yml new file mode 100644 index 000000000..9f83fc11e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/lts/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs-lts" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs-lts" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Dockerfile new file mode 100644 index 000000000..ffcd9eda3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Dockerfile @@ -0,0 +1,46 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Dockerfile.develop new file mode 100644 index 000000000..56d79e4bc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Dockerfile.develop @@ -0,0 +1,46 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml new file mode 100644 index 000000000..5ec44aae3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node0.12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs0.12" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs0.12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Dockerfile new file mode 100644 index 000000000..cd97e298b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Dockerfile.develop new file mode 100644 index 000000000..8bc29f5fa --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml new file mode 100644 index 000000000..ac791b5e3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node10/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs10" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs10" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Dockerfile new file mode 100644 index 000000000..1c7bf00fd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Dockerfile.develop new file mode 100644 index 000000000..a5d1c48ed --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml new file mode 100644 index 000000000..ef2d5fea1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs11" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Dockerfile new file mode 100644 index 000000000..93b235cc5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Dockerfile.develop new file mode 100644 index 000000000..878a63a48 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml new file mode 100644 index 000000000..ec3f38255 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs12" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Dockerfile new file mode 100644 index 000000000..bdf8514ee --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Dockerfile.develop new file mode 100644 index 000000000..a91595f78 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml new file mode 100644 index 000000000..2d503df8e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node13/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs13" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs13" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Dockerfile new file mode 100644 index 000000000..98f4301f1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Dockerfile.develop new file mode 100644 index 000000000..968f5545d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml new file mode 100644 index 000000000..cf3669da2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node14/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs14" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs14" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Dockerfile new file mode 100644 index 000000000..0639faf86 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Dockerfile.develop new file mode 100644 index 000000000..ffcd230a3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml new file mode 100644 index 000000000..243bbe0b7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node15/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs15" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs15" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Dockerfile new file mode 100644 index 000000000..eba149fbb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Dockerfile.develop new file mode 100644 index 000000000..a268e1830 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml new file mode 100644 index 000000000..0458e7809 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs16" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Dockerfile new file mode 100644 index 000000000..932c4885f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Dockerfile.develop new file mode 100644 index 000000000..39cffeed0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml new file mode 100644 index 000000000..d3b857277 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs17" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Dockerfile new file mode 100644 index 000000000..7506d6ed5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Dockerfile.develop new file mode 100644 index 000000000..ce98d9888 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/docker-compose.yml new file mode 100644 index 000000000..6e244dfbb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs18" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Dockerfile new file mode 100644 index 000000000..2cf006e54 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Dockerfile.develop new file mode 100644 index 000000000..9147c7884 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/docker-compose.yml new file mode 100644 index 000000000..0b9af9a34 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs19" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Dockerfile new file mode 100644 index 000000000..c49b1739f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Dockerfile.develop new file mode 100644 index 000000000..3b321efb7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/docker-compose.yml new file mode 100644 index 000000000..a87c9cd8a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs20" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Dockerfile new file mode 100644 index 000000000..b0fb80916 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Dockerfile.develop new file mode 100644 index 000000000..ca78aa998 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/docker-compose.yml new file mode 100644 index 000000000..fb6e5e971 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs21" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Dockerfile new file mode 100644 index 000000000..f310fd259 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Dockerfile.develop new file mode 100644 index 000000000..531c1b44f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/docker-compose.yml new file mode 100644 index 000000000..93477d092 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs22" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Dockerfile new file mode 100644 index 000000000..068b6b5b9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Dockerfile.develop new file mode 100644 index 000000000..d13d5b396 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml new file mode 100644 index 000000000..25ac54bf4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node4/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs4" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs4" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Dockerfile new file mode 100644 index 000000000..0e8c03851 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Dockerfile.develop new file mode 100644 index 000000000..4ad197ede --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml new file mode 100644 index 000000000..9774a65ba --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node5/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs5" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs5" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Dockerfile new file mode 100644 index 000000000..f2012772e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Dockerfile.develop new file mode 100644 index 000000000..94c3bae80 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml new file mode 100644 index 000000000..435a1b39b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs6" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Dockerfile new file mode 100644 index 000000000..bef079120 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Dockerfile.develop new file mode 100644 index 000000000..43cd940dc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml new file mode 100644 index 000000000..edb548723 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs7" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Dockerfile new file mode 100644 index 000000000..7ce5ab600 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Dockerfile.develop new file mode 100644 index 000000000..cd7183b00 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml new file mode 100644 index 000000000..3ea0525e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs8" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Dockerfile new file mode 100644 index 000000000..f62b63cb7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Dockerfile.develop new file mode 100644 index 000000000..116292f38 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/README.md b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml new file mode 100644 index 000000000..80205b74c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/nodejs/node9/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-nodejs9" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-nodejs9" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/develop/Dockerfile index 1cb2857eb..ed692a2e2 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/develop/Dockerfile @@ -5,22 +5,37 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ENV BuildDocker true -ENV GOPATH=/usr/local/go -ENV CARGOPATH=/root/.cargo -ENV FLUTTERPATH=/usr/local/flutter -ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" -ARG BUILDS_DIR=/builds -ARG SRC_DIR=${BUILDS_DIR}/src -ARG EXPORT_DIR=${BUILDS_DIR}/export -ARG NINJA_ARCH=linux -ARG NINJA_VERSION=latest -ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} +# /etc/ld.so.conf.d/ +ARG LD_CONF_DIR=/etc/ld.so.conf.d/ -################################################################## -# Files and folders -################################################################## -RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} +# cmake compiller +ENV CMAKE_VERSION=3.30.2 +ENV CMAKE_DIR=${EMG_LOCAL_BASE_DIR}/cmake/${CMAKE_VERSION} +ARG CMAKE_BIN_DIR=${CMAKE_DIR}/bin +ARG CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz +ARG CMAKE_TEMP=/tmp/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz + +# flutter source tarball +ENV FLUTTER_VERSION=3.22.3 +ENV FLUTTER_CHANNEL=stable +ENV FLUTTER_DIR=${EMG_LOCAL_BASE_DIR}/flutter/${FLUTTER_VERSION} +ARG FLUTTER_BIN_DIR=${FLUTTER_DIR}/bin +ARG FLUTTER_DOWNLOAD_URL=https://storage.googleapis.com/flutter_infra_release/releases/${FLUTTER_CHANNEL}/linux/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz +ARG FLUTTER_TEMP=/tmp/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz + +# ninja source tarball +ENV NINJA_VERSION=1.12.1 +ENV NINJA_DIR=${EMG_LOCAL_BASE_DIR}/ninja/${NINJA_VERSION} +ARG NINJA_BIN_DIR=${NINJA_DIR}/bin +ARG NINJA_DOWNLOAD_URL=https://github.com/ninja-build/ninja/releases/download/v${NINJA_VERSION}/ninja-linux.zip +ARG NINJA_TEMP=/tmp/ninja-linux.zip + +# GO source tarball +ENV GO_VERSION=1.22.5 +ENV GO_DIR=${EMG_LOCAL_BASE_DIR}/go/${GO_VERSION} +ARG GO_BIN_DIR=${GO_DIR}/bin +ARG GO_DOWNLOAD_URL=https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz +ARG GO_TEMP=/tmp/go${GO_VERSION}.linux-amd64.tar.gz ################################################################## # update lists @@ -85,6 +100,7 @@ RUN apt-get update && \ libldap2-dev \ libavformat-dev \ libavfilter-dev \ + libavif-dev \ libswscale-dev \ libavcodec-dev \ libz-dev \ @@ -93,7 +109,6 @@ RUN apt-get update && \ libcrypto++-dev \ libbz2-dev \ libvpx-dev \ -# libvpx6 \ #not avalible tcl \ g++ \ gcc \ @@ -114,32 +129,94 @@ RUN apt-get update && \ ################################################################## # Rust compillers ################################################################## -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile complete --default-toolchain stable --verbose -RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n" +ENV CARGO_HOME=${EMG_LOCAL_BASE_DIR}/cargo +ENV RUSTUP_HOME=${EMG_LOCAL_BASE_DIR}/rustup +ARG CARGO_BIN=${CARGO_HOME}/bin + +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile complete --default-toolchain stable --verbose + +ENV PATH="$CARGO_HOME/bin:${PATH}" + +RUN echo "=============================================" && \ + echo cargo $(cargo --version) && \ + echo rustc $(rustc --version) && \ + echo rustup $(rustup --version) && \ + echo "=============================================" + +################################################################## +# CMake +################################################################## +RUN mkdir -p ${CMAKE_DIR} +ADD ${CMAKE_DOWNLOAD_URL} /tmp + +RUN tar -xf ${CMAKE_TEMP} --directory ${CMAKE_DIR} --strip-components=1 && \ + chmod +x ${CMAKE_BIN_DIR}/ccmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake-gui && \ + chmod +x ${CMAKE_BIN_DIR}/cpack && \ + chmod +x ${CMAKE_BIN_DIR}/ctest + +ENV PATH="${CMAKE_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo $(cmake --version) && \ + echo "=============================================" ################################################################## # Flutter SDK ################################################################## -RUN git clone https://github.com/flutter/flutter.git -b stable /usr/local/flutter -RUN flutter precache -RUN flutter config --no-analytics -RUN dart --disable-analytics -RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n" +RUN mkdir -p ${FLUTTER_DIR} +ADD ${FLUTTER_DOWNLOAD_URL} /tmp + +RUN tar -xf ${FLUTTER_TEMP} --directory ${FLUTTER_DIR} --strip-components=1 && \ + chmod +x ${FLUTTER_BIN_DIR}/dart && \ + chmod +x ${FLUTTER_BIN_DIR}/flutter && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/shared.sh && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/update_dart_sdk.sh + +ENV PATH="${FLUTTER_BIN_DIR}:${PATH}" + +RUN git config --global --add safe.directory ${FLUTTER_DIR} && \ + flutter precache && \ + flutter config --no-analytics && \ + dart --disable-analytics + +RUN echo "=============================================" && \ + echo dart $(dart --version) && \ + echo flutter $(flutter --version) && \ + echo "=============================================" ################################################################## # GO compillers ################################################################## -RUN printf "\n--------------------------------\n$(go version)\n--------------------------------\n\n" +RUN mkdir -p ${GO_DIR} +ADD ${GO_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${GO_TEMP} --directory ${GO_DIR} --strip-components=1 && \ + chmod +x ${GO_BIN_DIR}/go && \ + chmod +x ${GO_BIN_DIR}/gofmt + +ENV GOPATH=${GO_DIR} +ENV PATH="${GO_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo go $(go version) && \ + echo "=============================================" ################################################################## # Get NINJA binary ################################################################## -RUN curl -s ${NINJA_RELEASE_URL} | jq -r ".assets[] | select(.name | test(\"${NINJA_ARCH}\")) | .browser_download_url" > /tmp/ninja-url.txt && \ - cat /tmp/ninja-url.txt && \ - cd /tmp && \ - wget -q -c --input-file=/tmp/ninja-url.txt && \ - unzip -o /tmp/ninja-linux.zip -d /bin && \ - printf "\n--------------------------------\nninja version: $(ninja --version)\n--------------------------------\n\n" +RUN mkdir -p ${NINJA_BIN_DIR} +ADD ${NINJA_DOWNLOAD_URL} /tmp + +RUN 7zz x ${NINJA_TEMP} -o${NINJA_BIN_DIR} -y && \ + chmod +x ${NINJA_BIN_DIR}/ninja + +ENV PATH="${NINJA_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo ninja $(ninja --version) && \ + echo "=============================================" ################################################################## # other customisations diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Dockerfile index ad32f7f8d..387716d1c 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Dockerfile.develop index ae60daa0f..9832b450d 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk11/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk11/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk16/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk17/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk17/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk18/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk18/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk19/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk19/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk20/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk20/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Dockerfile index 8a149652a..0e715d4db 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Dockerfile.develop index 5d573b5ab..29502f0a7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk21/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk21/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Dockerfile index 08ce41222..d0eb41112 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Dockerfile.develop index 46a440e93..ba7bc0678 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk22/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk22/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk6/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk6/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Dockerfile similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Dockerfile diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Dockerfile.develop similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk7/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk7/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Dockerfile similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Dockerfile index 24225b607..dc253e5e2 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Dockerfile.develop similarity index 97% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Dockerfile.develop index 8e6e342cb..88a956551 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/docker-compose.yml similarity index 100% rename from linux/ecosystem/epicmorg/debian/10-buster/jdk8/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/10-buster/jdk/jdk8/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Dockerfile new file mode 100644 index 000000000..2e14c5fc9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Dockerfile.develop new file mode 100644 index 000000000..7354a39e0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml new file mode 100644 index 000000000..f0b942b34 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/current/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs-current" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs-current" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Dockerfile new file mode 100644 index 000000000..5fc6705e5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Dockerfile.develop new file mode 100644 index 000000000..f363744c9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml new file mode 100644 index 000000000..20e699932 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/lts/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs-lts" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs-lts" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Dockerfile new file mode 100644 index 000000000..74f400c9f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Dockerfile @@ -0,0 +1,46 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Dockerfile.develop new file mode 100644 index 000000000..6258a97e3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Dockerfile.develop @@ -0,0 +1,46 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.18 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 0.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml new file mode 100644 index 000000000..fdac67477 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node0.12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs0.12" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs0.12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Dockerfile new file mode 100644 index 000000000..bc6d2d160 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Dockerfile.develop new file mode 100644 index 000000000..296be12ac --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=10 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.24.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 10.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml new file mode 100644 index 000000000..635680401 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node10/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs10" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs10" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Dockerfile new file mode 100644 index 000000000..25b13dc07 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Dockerfile.develop new file mode 100644 index 000000000..12da245ee --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=11 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 11.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@5 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml new file mode 100644 index 000000000..f2ed9af32 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs11" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Dockerfile new file mode 100644 index 000000000..15a4fc920 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Dockerfile.develop new file mode 100644 index 000000000..3e56ceff4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=12 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.22.9 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 12.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml new file mode 100644 index 000000000..371448647 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node12/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs12" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs12" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Dockerfile new file mode 100644 index 000000000..8b01a9a96 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Dockerfile.develop new file mode 100644 index 000000000..d1a6b9a0b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=13 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 13.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@6 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml new file mode 100644 index 000000000..4184b40b1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node13/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs13" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs13" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Dockerfile new file mode 100644 index 000000000..f36877548 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Dockerfile.develop new file mode 100644 index 000000000..9f6173864 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=14 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.21.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 14.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@7 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml new file mode 100644 index 000000000..2379b3cdc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node14/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs14" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs14" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Dockerfile new file mode 100644 index 000000000..969515281 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Dockerfile.develop new file mode 100644 index 000000000..47b49708d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=15 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.14.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 15.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml new file mode 100644 index 000000000..cdfbf6779 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node15/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs15" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs15" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Dockerfile new file mode 100644 index 000000000..302aa9d8a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Dockerfile.develop new file mode 100644 index 000000000..c60c785a8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=16 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 16.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml new file mode 100644 index 000000000..9726f0bae --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs16" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Dockerfile new file mode 100644 index 000000000..1c5dbb137 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Dockerfile @@ -0,0 +1,45 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Dockerfile.develop new file mode 100644 index 000000000..190387d2c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Dockerfile.develop @@ -0,0 +1,45 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=17 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 17.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +#RUN npm install -g pnpm yarn +RUN npm install -g yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ +# echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml new file mode 100644 index 000000000..8bfbcfd80 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs17" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Dockerfile new file mode 100644 index 000000000..d693f8b36 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Dockerfile.develop new file mode 100644 index 000000000..d73445435 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=18 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 18.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml new file mode 100644 index 000000000..5854149c4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs18" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Dockerfile new file mode 100644 index 000000000..45abbf22c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Dockerfile.develop new file mode 100644 index 000000000..330a2be7b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=19 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 19.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml new file mode 100644 index 000000000..01c7a6fc2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs19" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Dockerfile new file mode 100644 index 000000000..5fc6705e5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Dockerfile.develop new file mode 100644 index 000000000..f363744c9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=20 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 20.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml new file mode 100644 index 000000000..5bb169f69 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs20" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Dockerfile new file mode 100644 index 000000000..92e70b222 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Dockerfile.develop new file mode 100644 index 000000000..130de2d60 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=21 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.7.3 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 21.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml new file mode 100644 index 000000000..ecf251ce0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs21" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Dockerfile new file mode 100644 index 000000000..2e14c5fc9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Dockerfile.develop new file mode 100644 index 000000000..7354a39e0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 22.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml new file mode 100644 index 000000000..d2531ae2e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs22" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Dockerfile new file mode 100644 index 000000000..69fa70fed --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Dockerfile.develop new file mode 100644 index 000000000..1fd059d9e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=4 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 4.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml new file mode 100644 index 000000000..0cecafdc6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node4/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs4" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs4" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Dockerfile new file mode 100644 index 000000000..f0a3ca39e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Dockerfile.develop new file mode 100644 index 000000000..f0c191f42 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=5 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.9.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 5.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml new file mode 100644 index 000000000..32c126ac1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node5/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs5" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs5" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Dockerfile new file mode 100644 index 000000000..c693ef986 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Dockerfile @@ -0,0 +1,47 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Dockerfile.develop new file mode 100644 index 000000000..b63afca07 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Dockerfile.develop @@ -0,0 +1,47 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=6 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 6.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ + +#RUN npm install -g pnpm yarn +RUN npm install -g pnpm@2 + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ +# echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml new file mode 100644 index 000000000..0f03a7916 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs6" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Dockerfile new file mode 100644 index 000000000..f61342713 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Dockerfile.develop new file mode 100644 index 000000000..5793cbd53 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=7 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.10.1 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 7.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml new file mode 100644 index 000000000..9bd67b4b2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs7" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Dockerfile new file mode 100644 index 000000000..cad8d562c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Dockerfile.develop new file mode 100644 index 000000000..6b9e2aad4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=8 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.17.0 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 8.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml new file mode 100644 index 000000000..921ed0cdb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs8" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Dockerfile new file mode 100644 index 000000000..42c1470b1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Dockerfile.develop new file mode 100644 index 000000000..80ea01f82 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Dockerfile.develop @@ -0,0 +1,44 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" + +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_NODE_MAJOR_VERSION=9 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.11.2 +ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz +ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz + +################################################################## +# Node.js 9.x +################################################################## +RUN groupadd -g 1337 node && \ + useradd -u 1337 --gid node --shell /bin/bash --create-home node + +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp + +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md + +RUN npm install -g pnpm@3 yarn + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo node $(node --version) && \ + echo npm $(npm --version) && \ + echo yarn $(yarn --version) && \ + echo pnpm $(pnpm --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ +apt-get clean -y && \ +apt-get autoclean -y && \ +rm -rfv /var/lib/apt/lists/* && \ +rm -rfv /var/cache/apt/archives/*.deb && \ +rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/README.md b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/README.md new file mode 100644 index 000000000..b53fe01e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/README.md @@ -0,0 +1,93 @@ +## TeamCity Minimal Build Agent + +[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) + +This is an official [JetBrains TeamCity](https://www.jetbrains.com/teamcity/) minimal build agent image. + + More details about tags and components are [here](https://github.com/JetBrains/teamcity-docker-images/blob/master/generated/teamcity-minimal-agent.md). + +The [TeamCity build agent](https://www.jetbrains.com/help/teamcity/build-agent.html) connects to the TeamCity server and spawns the actual build processes. +You can use the ```jetbrains/teamcity-server``` image to run a TeamCity server. + +This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images. For Java or .NET development we recommend using the default build agent image [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent/). + +## How to Use This Image + +Pull the TeamCity minimal image from the Docker Hub Repository: + +``` +jetbrains/teamcity-minimal-agent +``` +  +and use the following command to start a container with TeamCity agent running inside +a Linux container: + +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + jetbrains/teamcity-minimal-agent +``` +  +or a Windows container: +``` +docker run -it -e SERVER_URL="" + -v :C:/BuildAgent/conf + jetbrains/teamcity-minimal-agent +``` +where `` is the full URL for TeamCity server, accessible by the agent. Note that `localhost` will not generally not work as it will refer to the `localhost` inside the container. +`` is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create. + +Since version 2020.1, TeamCity agent Docker images __run under a non-root user__. Refer to our [upgrade notes](https://www.jetbrains.com/help/teamcity/upgrade-notes.html#UpgradeNotes-AgentDockerimagesrunundernon-rootuser) for information on possible affected use cases. + +When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the **Unauthorized Agents** page in your browser. See [more details](https://www.jetbrains.com/help/teamcity/build-agent.html). + +All information about agent authorization is stored in agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved. + +TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server. + +### Agent Image Environment Variables + +- **SERVER_URL** - URL of the TeamCity server agent will connect to +- **AGENT_NAME** - (optional) Name of the agent in TeamCity UI, autogenerated if omitted +- **AGENT_TOKEN** - (optional) Agent authorization token, if unset, the agent should be [authorized](https://www.jetbrains.com/help/teamcity/build-agent.html#BuildAgent-BuildAgentStatus) via TeamCity UI. +- **OWN_ADDRESS** - (optional, linux only) IP address build agent binds to, autodetected +- **OWN_PORT** - (optional, linux only) Port build agent binds to, 9090 by default + +### Windows Containers Limitations + +The details on the known problems in Windows containers are available in the [TeamCity documentation](https://www.jetbrains.com/help/teamcity/known-issues.html#KnownIssues-WindowsDockerContainers). + +## Customization + +You can customize the image via the usual Docker procedure: + +1. Run the image +``` +docker run -it -e SERVER_URL="" \ + -v :/data/teamcity_agent/conf \ + --name="my-customized-agent" \ + jetbrains/teamcity-minimal-agent \ +``` +2. Enter the container +``` +docker exec -it my-customized-agent bash +``` + +3. Change whatever you need +4. Exit and [create a new image](https://docs.docker.com/engine/reference/commandline/commit/) from the container +``` +docker commit my-customized-agent +``` + +## License + +The image is available under the [TeamCity license](https://www.jetbrains.com/teamcity/buy/license.html). +TeamCity is free for perpetual use with the limitation of 100 build configurations (jobs) and 3 agents. [Licensing details](https://www.jetbrains.com/help/teamcity/licensing-policy.html). + +## Feedback + +Report issues of suggestions to the official TeamCity [issue tracker](https://youtrack.jetbrains.com/issues/TW). + +## Other TeamCity Images +* [TeamCity Server](https://hub.docker.com/r/jetbrains/teamcity-server/) +* [Build Agent](https://hub.docker.com/r/jetbrains/teamcity-agent/) diff --git a/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml new file mode 100644 index 000000000..0cd386be8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/nodejs/node9/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-nodejs9" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-nodejs9" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile index 728077152..18c22bca1 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile @@ -60,6 +60,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio curl \ wget \ locate \ + unzip \ + zip \ sudo RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile index b67b8ba4b..d231b5dd7 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile @@ -5,25 +5,246 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## -ENV BuildDocker true -ENV GOPATH=/usr/local/go -ENV CARGOPATH=/root/.cargo -ENV FLUTTERPATH=/usr/local/flutter -ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" -ARG BUILDS_DIR=/builds -ARG SRC_DIR=${BUILDS_DIR}/src -ARG EXPORT_DIR=${BUILDS_DIR}/export -ARG NINJA_ARCH=linux -ARG NINJA_VERSION=latest -ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} +# /etc/ld.so.conf.d/ +ARG LD_CONF_DIR=/etc/ld.so.conf.d/ + +# cmake compiller +ENV CMAKE_VERSION=3.30.2 +ENV CMAKE_DIR=${EMG_LOCAL_BASE_DIR}/cmake/${CMAKE_VERSION} +ARG CMAKE_BIN_DIR=${CMAKE_DIR}/bin +ARG CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz +ARG CMAKE_TEMP=/tmp/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz + +# flutter source tarball +ENV FLUTTER_VERSION=3.22.3 +ENV FLUTTER_CHANNEL=stable +ENV FLUTTER_DIR=${EMG_LOCAL_BASE_DIR}/flutter/${FLUTTER_VERSION} +ARG FLUTTER_BIN_DIR=${FLUTTER_DIR}/bin +ARG FLUTTER_DOWNLOAD_URL=https://storage.googleapis.com/flutter_infra_release/releases/${FLUTTER_CHANNEL}/linux/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz +ARG FLUTTER_TEMP=/tmp/flutter_linux_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.tar.xz + +# ninja source tarball +ENV NINJA_VERSION=1.12.1 +ENV NINJA_DIR=${EMG_LOCAL_BASE_DIR}/ninja/${NINJA_VERSION} +ARG NINJA_BIN_DIR=${NINJA_DIR}/bin +ARG NINJA_DOWNLOAD_URL=https://github.com/ninja-build/ninja/releases/download/v${NINJA_VERSION}/ninja-linux.zip +ARG NINJA_TEMP=/tmp/ninja-linux.zip + +# GO source tarball +ENV GO_VERSION=1.22.5 +ENV GO_DIR=${EMG_LOCAL_BASE_DIR}/go/${GO_VERSION} +ARG GO_BIN_DIR=${GO_DIR}/bin +ARG GO_DOWNLOAD_URL=https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz +ARG GO_TEMP=/tmp/go${GO_VERSION}.linux-amd64.tar.gz + +# PCRE source tarball +ENV PCRE_VERSION=10.44 +ENV PCRE_DIR=${EMG_LOCAL_BASE_DIR}/pcre2/${PCRE_VERSION} +ENV PCRE_BIN_DIR=${PCRE_DIR}/bin +ENV PCRE_LIB_DIR=${PCRE_DIR}/lib +ENV PCRE_INC_DIR=${PCRE_DIR}/include +ENV PCRE_SRC_DIR=/usr/local/src/pcre2/${PCRE_VERSION} +ARG PCRE_DOWNLOAD_URL=https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PCRE_VERSION}/pcre2-${PCRE_VERSION}.tar.gz +ARG PCRE_TEMP=/tmp/pcre2-${PCRE_VERSION}.tar.gz +ARG PCRE_TEMP_SRC=/tmp/pcre2-${PCRE_VERSION} + +# luajit2-openresty source tarball +ENV LUAJIT2OR_VERSION=2.1 +ENV LUAJIT2OR_DIR=${EMG_LOCAL_BASE_DIR}/luajit2/${LUAJIT2OR_VERSION} +ENV LUAJIT2OR_BIN_DIR=${PCRE_DIR}/bin +ENV LUAJIT2OR_LIB_DIR=${LUAJIT2OR_DIR}/lib +ENV LUAJIT2OR_INC_DIR=${LUAJIT2OR_DIR}/include +ENV LUAJIT2OR_SRC_DIR=/usr/local/src/luajit2/${LUAJIT2OR_VERSION} +ARG LUAJIT2OR_DOWNLOAD_URL=https://github.com/openresty/luajit2.git +ARG LUAJIT2OR_TEMP_SRC=/tmp/luajit2 + +# zlib source tarball +ENV ZLIB_VERSION=1.3.1 +ENV ZLIB_DIR=${EMG_LOCAL_BASE_DIR}/zlib/${ZLIB_VERSION} +ENV ZLIB_INC_DIR=${ZLIB_DIR}/include +ENV ZLIB_LIB_DIR=${ZLIB_DIR}/lib +ENV ZLIB_SRC_DIR=/usr/local/src/zlib/${ZLIB_VERSION} +ARG ZLIB_DOWNLOAD_URL=https://zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz +ARG ZLIB_TEMP=/tmp/zlib-${ZLIB_VERSION}.tar.gz +ARG ZLIB_TEMP_SRC=/tmp/zlib-${ZLIB_VERSION} + +# zstd source tarball +ENV ZSTD_VERSION=1.5.6 +ENV ZSTD_DIR=${EMG_LOCAL_BASE_DIR}/zstd/${ZLIB_VERSION} +ENV ZSTD_BIN_DIR=${ZSTD_DIR}/bin +ENV ZSTD_INC_DIR=${ZSTD_DIR}/include +ENV ZSTD_LIB_DIR=${ZSTD_DIR}/lib +ENV ZSTD_SRC_DIR=/usr/local/src/zstd/${ZSTD_VERSION} +ARG ZSTD_DOWNLOAD_URL=https://github.com/facebook/zstd/releases/download/v${ZSTD_VERSION}/zstd-${ZSTD_VERSION}.tar.gz +ARG ZSTD_TEMP=/tmp/zstd-${ZSTD_VERSION}.tar.gz +ARG ZSTD_TEMP_SRC=/tmp/zstd-${ZSTD_VERSION} + +# IP2Location-C-Library source tarball +ENV IP2LOC_VERSION=8.7.0 +ENV IP2LOC_DIR=${EMG_LOCAL_BASE_DIR}/ip2location/${IP2LOC_VERSION} +ENV IP2LOC_BIN_DIR=${IP2LOC_DIR}/bin +ENV IP2LOC_INC_DIR=${IP2LOC_DIR}/include +ENV IP2LOC_LIB_DIR=${IP2LOC_DIR}/lib +ENV IP2LOC_SRC_DIR=/usr/local/src/ip2location/${IP2LOC_VERSION} +ARG IP2LOC_DOWNLOAD_URL=https://github.com/chrislim2888/IP2Location-C-Library/archive/refs/heads/master.tar.gz +ARG IP2LOC_TEMP=/tmp/master.tar.gz +ARG IP2LOC_TEMP_SRC=/tmp/IP2Location-C-Library-master + +# libatomic_ops source tarball +ENV LIBATOMICOPS_VERSION=7.8.2 +ENV LIBATOMICOPS_DIR=${EMG_LOCAL_BASE_DIR}/libatomic_ops/${LIBATOMICOPS_VERSION} +ENV LIBATOMICOPS_INC_DIR=${LIBATOMICOPS_DIR}/include +ENV LIBATOMICOPS_LIB_DIR=${LIBATOMICOPS_DIR}/lib +ENV LIBATOMICOPS_SRC_DIR=/usr/local/src/libatomic_ops/${LIBATOMICOPS_VERSION} +ARG LIBATOMICOPS_DOWNLOAD_URL=https://github.com/ivmai/libatomic_ops/releases/download/v${LIBATOMICOPS_VERSION}/libatomic_ops-${LIBATOMICOPS_VERSION}.tar.gz +ARG LIBATOMICOPS_TEMP=/tmp/libatomic_ops-${LIBATOMICOPS_VERSION}.tar.gz +ARG LIBATOMICOPS_TEMP_SRC=/tmp/libatomic_ops-${LIBATOMICOPS_VERSION} + +# libimagequant source +ENV LIBIMAGEQUANT_VERSION=4.3.1 +ARG LIBIMAGEQUANT_DOWNLOAD_URL=https://github.com/ImageOptim/libimagequant +ENV LIBIMAGEQUANT_DIR=${EMG_LOCAL_BASE_DIR}/libimagequant +ENV LIBIMAGEQUANT_SRC_DIR=/usr/local/src/libimagequant/${LIBIMAGEQUANT_VERSION} +ARG LIBIMAGEQUANT_TEMP_SRC=/tmp/libimagequant + +# libraqm source +ENV LIBRAQM_VERSION=0.10.1 +ARG LIBRAQM_DOWNLOAD_URL=https://github.com/HOST-Oman/libraqm +ENV LIBRAQM_DIR=${EMG_LOCAL_BASE_DIR}/libraqm +ENV LIBRAQM_SRC_DIR=/usr/local/src/libraqm/${LIBRAQM_VERSION} +ARG LIBRAQM_TEMP_SRC=/tmp/libraqm + +# libgd source tarball +ENV LIBGD_VERSION=2.3.3 +ENV LIBGD_DIR=${EMG_LOCAL_BASE_DIR}/libgd/${LIBGD_VERSION} +ENV LIBGD_BIN_DIR=${LIBGD_DIR}/bin +ENV LIBGD_INC_DIR=${LIBGD_DIR}/include +ENV LIBGD_LIB_DIR=${LIBGD_DIR}/lib +ENV LIBGD_SRC_DIR=/usr/local/src/libgd/${LIBGD_VERSION} +ARG LIBGD_DOWNLOAD_URL=https://github.com/libgd/libgd/releases/download/gd-${LIBGD_VERSION}/libgd-${LIBGD_VERSION}.tar.gz +ARG LIBGD_TEMP=/tmp/libgd-${LIBGD_VERSION}.tar.gz +ARG LIBGD_TEMP_SRC=/tmp/libgd-${LIBGD_VERSION} + +# libxml2 source tarball +ENV LIBXML2_VERSION=2.13.2 +ENV LIBXML2_DIR=${EMG_LOCAL_BASE_DIR}/libxml2/${LIBXML2_VERSION} +ENV LIBXML2_BIN_DIR=${LIBXML2_DIR}/bin +ENV LIBXML2_INC_DIR=${LIBXML2_DIR}/include +ENV LIBXML2_LIB_DIR=${LIBXML2_DIR}/lib +ENV LIBXML2_SRC_DIR=/usr/local/src/libxml2/${LIBXML2_VERSION} +ARG LIBXML2_DOWNLOAD_URL=https://gitlab.gnome.org/GNOME/libxml2/-/archive/v${LIBXML2_VERSION}/libxml2-v${LIBXML2_VERSION}.tar.gz +ARG LIBXML2_TEMP=/tmp/libxml2-v${LIBXML2_VERSION}.tar.gz +ARG LIBXML2_TEMP_SRC=/tmp/libxml2-v${LIBXML2_VERSION} + +# libxslt source tarball +ENV LIBXSLT_VERSION=1.1.42 +ENV LIBXSLT_DIR=${EMG_LOCAL_BASE_DIR}/libxslt/${LIBXSLT_VERSION} +ENV LIBXSLT_BIN_DIR=${LIBXSLT_DIR}/bin +ENV LIBXSLT_INC_DIR=${LIBXSLT_DIR}/include +ENV LIBXSLT_LIB_DIR=${LIBXSLT_DIR}/lib +ENV LIBXSLT_SRC_DIR=/usr/local/src/libxslt/${LIBXSLT_VERSION} +ARG LIBXSLT_DOWNLOAD_URL=https://gitlab.gnome.org/GNOME/libxslt/-/archive/v${LIBXSLT_VERSION}/libxslt-v${LIBXSLT_VERSION}.tar.gz +ARG LIBXSLT_TEMP=/tmp/libxslt-v${LIBXSLT_VERSION}.tar.gz +ARG LIBXSLT_TEMP_SRC=/tmp/libxslt-v${LIBXSLT_VERSION} + +# maxmind geoip +ENV MM_GEOIP_VERSION=1.6.12 +ENV MM_GEOIP_DIR=${EMG_LOCAL_BASE_DIR}/geoip/${MM_GEOIP_VERSION} +ENV MM_GEOIP_BIN_DIR=${MM_GEOIP_DIR}/bin +ENV MM_GEOIP_INC_DIR=${MM_GEOIP_DIR}/include +ENV MM_GEOIP_LIB_DIR=${MM_GEOIP_DIR}/lib +ENV MM_GEOIP_SRC_DIR=/usr/local/src/geoip/${MM_GEOIP_VERSION} +ARG MM_GEOIP_DOWNLOAD_URL=https://github.com/maxmind/geoip-api-c/releases/download/v${MM_GEOIP_VERSION}/GeoIP-${MM_GEOIP_VERSION}.tar.gz +ARG MM_GEOIP_TEMP=/tmp/GeoIP-${MM_GEOIP_VERSION}.tar.gz +ARG MM_GEOIP_TEMP_SRC=/tmp/GeoIP-${MM_GEOIP_VERSION} + +# Google perftools +ENV GPERFTOOLS_VERSION=2.15 +ENV GPERFTOOLS_DIR=${EMG_LOCAL_BASE_DIR}/gperftools/${GPERFTOOLS_VERSION} +ENV GPERFTOOLS_BIN_DIR=${GPERFTOOLS_DIR}/bin +ENV GPERFTOOLS_INC_DIR=${GPERFTOOLS_DIR}/include +ENV GPERFTOOLS_LIB_DIR=${GPERFTOOLS_DIR}/lib +ENV GPERFTOOLS_SRC_DIR=/usr/local/src/gperftools/${GPERFTOOLS_VERSION} +ARG GPERFTOOLS_DOWNLOAD_URL=https://github.com/gperftools/gperftools/releases/download/gperftools-${GPERFTOOLS_VERSION}/gperftools-${GPERFTOOLS_VERSION}.tar.gz +ARG GPERFTOOLS_TEMP=/tmp/gperftools-${GPERFTOOLS_VERSION}.tar.gz +ARG GPERFTOOLS_TEMP_SRC=/tmp/gperftools-${GPERFTOOLS_VERSION} + +# OpenSSL 1.1.1 +ENV OPENSSL_111_VERSION=1.1.1 +ENV OPENSSL_111_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_111_VERSION} +ENV OPENSSL_111_BIN_DIR=${OPENSSL_111_DIR}/bin +ENV OPENSSL_111_INC_DIR=${OPENSSL_111_DIR}/include +ENV OPENSSL_111_LIB_DIR=${OPENSSL_111_DIR}/lib +ENV OPENSSL_111_SRC_DIR=/usr/local/src/openssl/${OPENSSL_111_VERSION} +ARG OPENSSL_111_DOWNLOAD_URL=https://www.openssl.org/source/old/${OPENSSL_111_VERSION}/openssl-${OPENSSL_111_VERSION}w.tar.gz +ARG OPENSSL_111_TEMP=/tmp/openssl-${OPENSSL_111_VERSION}w.tar.gz +ARG OPENSSL_111_TEMP_SRC=/tmp/openssl-${OPENSSL_111_VERSION}w + +# OpenSSL 3.0.14 +ENV OPENSSL_30_VERSION=3.0.14 +ENV OPENSSL_30_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_30_VERSION} +ENV OPENSSL_30_BIN_DIR=${OPENSSL_30_DIR}/bin +ENV OPENSSL_30_INC_DIR=${OPENSSL_30_DIR}/include +ENV OPENSSL_30_LIB_DIR=${OPENSSL_30_DIR}/lib64 +ENV OPENSSL_30_SRC_DIR=/usr/local/src/openssl/${OPENSSL_30_VERSION} +ARG OPENSSL_30_DOWNLOAD_URL=https://www.openssl.org/source/openssl-${OPENSSL_30_VERSION}.tar.gz +ARG OPENSSL_30_TEMP=/tmp/openssl-${OPENSSL_30_VERSION}.tar.gz +ARG OPENSSL_30_TEMP_SRC=/tmp/openssl-${OPENSSL_30_VERSION} + +# OpenSSL 3.1.6 +ENV OPENSSL_31_VERSION=3.1.6 +ENV OPENSSL_31_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_31_VERSION} +ENV OPENSSL_31_BIN_DIR=${OPENSSL_31_DIR}/bin +ENV OPENSSL_31_INC_DIR=${OPENSSL_31_DIR}/include +ENV OPENSSL_31_LIB_DIR=${OPENSSL_31_DIR}/lib64 +ENV OPENSSL_31_SRC_DIR=/usr/local/src/openssl/${OPENSSL_31_VERSION} +ARG OPENSSL_31_DOWNLOAD_URL=https://www.openssl.org/source/openssl-${OPENSSL_31_VERSION}.tar.gz +ARG OPENSSL_31_TEMP=/tmp/openssl-${OPENSSL_31_VERSION}.tar.gz +ARG OPENSSL_31_TEMP_SRC=/tmp/openssl-${OPENSSL_31_VERSION} + +# OpenSSL 3.2.2 +ENV OPENSSL_32_VERSION=3.2.2 +ENV OPENSSL_32_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_32_VERSION} +ENV OPENSSL_32_BIN_DIR=${OPENSSL_32_DIR}/bin +ENV OPENSSL_32_INC_DIR=${OPENSSL_32_DIR}/include +ENV OPENSSL_32_LIB_DIR=${OPENSSL_32_DIR}/lib64 +ENV OPENSSL_32_SRC_DIR=/usr/local/src/openssl/${OPENSSL_32_VERSION} +ARG OPENSSL_32_DOWNLOAD_URL=https://www.openssl.org/source/openssl-${OPENSSL_32_VERSION}.tar.gz +ARG OPENSSL_32_TEMP=/tmp/openssl-${OPENSSL_32_VERSION}.tar.gz +ARG OPENSSL_32_TEMP_SRC=/tmp/openssl-${OPENSSL_32_VERSION} + +# OpenSSL 3.3.1 +ENV OPENSSL_33_VERSION=3.3.1 +ENV OPENSSL_33_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_33_VERSION} +ENV OPENSSL_33_BIN_DIR=${OPENSSL_33_DIR}/bin +ENV OPENSSL_33_INC_DIR=${OPENSSL_33_DIR}/include +ENV OPENSSL_33_LIB_DIR=${OPENSSL_33_DIR}/lib64 +ENV OPENSSL_33_SRC_DIR=/usr/local/src/openssl/${OPENSSL_33_VERSION} +ARG OPENSSL_33_DOWNLOAD_URL=https://www.openssl.org/source/openssl-${OPENSSL_33_VERSION}.tar.gz +ARG OPENSSL_33_TEMP=/tmp/openssl-${OPENSSL_33_VERSION}.tar.gz +ARG OPENSSL_33_TEMP_SRC=/tmp/openssl-${OPENSSL_33_VERSION} + +# LibreSSL +ENV LIBRESSL_VERSION=3.9.2 +ENV LIBRESSL_DIR=${EMG_LOCAL_BASE_DIR}/libressl/${LIBRESSL_VERSION} +ENV LIBRESSL_INC_DIR=${LIBRESSL_DIR}/include +ENV LIBRESSL_LIB_DIR=${LIBRESSL_DIR}/lib +ENV LIBRESSL_SRC_DIR=/usr/local/src/libressl/${LIBRESSL_VERSION} +ARG LIBRESSL_DOWNLOAD_URL=https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz +ARG LIBRESSL_TEMP=/tmp/libressl-${LIBRESSL_VERSION}.tar.gz +ARG LIBRESSL_TEMP_SRC=/tmp/libressl-${LIBRESSL_VERSION} + +# BoringSSL +ENV BORINGSSL_VERSION=master +ENV BORINGSSL_DIR=${EMG_LOCAL_BASE_DIR}/boringssl/${BORINGSSL_VERSION} +ENV BORINGSSL_INC_DIR=${BORINGSSL_DIR}/include +ENV BORINGSSL_LIB_DIR=${BORINGSSL_DIR}/lib +ENV BORINGSSL_SRC_DIR=/usr/local/src/boringssl/${BORINGSSL_VERSION} +ARG BORINGSSL_DOWNLOAD_URL=https://boringssl.googlesource.com/boringssl +ARG BORINGSSL_TEMP_SRC=/tmp/boringssl ################################################################## -# Files and folders -################################################################## -RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} - -################################################################## -# update lists +# bullseye sources list ################################################################## RUN apt-get update && \ apt-get dist-upgrade -y @@ -37,16 +258,17 @@ RUN apt-get update && \ autoconf-archive \ gnu-standards \ cmake \ + meson \ libunwind-dev \ at \ autopkgtest \ gcc-multilib \ g++-multilib \ libxkbcommon-dev \ - zlib1g-dev \ libsqlite3-dev \ liblzma-dev \ libgtk-3-dev \ + zlib1g-dev \ libfreetype6-dev \ libegl1-mesa-dev \ libgles2-mesa-dev \ @@ -54,7 +276,22 @@ RUN apt-get update && \ uuid-dev \ nvidia-cg-toolkit \ nvidia-cg-dev \ + libavutil-dev \ libavcodec-dev \ + libxvidcore-dev \ + libtwolame-dev \ + libmp3lame-dev \ + libopus-dev \ + libavcodec-extra \ + libheif-dev \ + libtheora-dev \ + libvorbis-dev \ + libflac-dev \ + libx264-dev \ + libx265-dev \ + libaom-dev \ + libdav1d-dev \ + libaio-dev \ libsdl2-dev \ libsdl-image1.2-dev \ libxml2-dev \ @@ -72,8 +309,9 @@ RUN apt-get update && \ libssl-dev \ libxslt-dev \ libgd-dev \ - libpcre3-dev \ + libpcre2-dev \ libgeoip-dev \ + libxml++*-dev \ libkrb5-dev \ libperl-dev \ krb5-user \ @@ -84,6 +322,7 @@ RUN apt-get update && \ libldap2-dev \ libavformat-dev \ libavfilter-dev \ + libavif-dev \ libswscale-dev \ libavcodec-dev \ libz-dev \ @@ -92,14 +331,13 @@ RUN apt-get update && \ libcrypto++-dev \ libbz2-dev \ libvpx-dev \ - libvpx6 \ + libsasl2-dev \ tcl \ g++ \ gcc \ libc6-dev \ make \ - pkg-config \ - python-dev \ + pkg-config \ python3-all-dev \ g++-multilib \ autoconf \ @@ -109,37 +347,679 @@ RUN apt-get update && \ strace \ libbsd-dev \ libedit-dev \ - libmd-dev + libmd-dev \ + valgrind \ + valgrind-dbg \ + valgrind-mpi \ + gcovr \ + lcov \ + libsctp-dev \ + libharfbuzz-dev \ + libfribidi-dev \ + libpng-dev \ + libjpeg-dev \ + libfreetype6-dev ################################################################## # Rust compillers ################################################################## -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile complete --default-toolchain stable --verbose -RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n" +ENV CARGO_HOME=${EMG_LOCAL_BASE_DIR}/cargo +ENV RUSTUP_HOME=${EMG_LOCAL_BASE_DIR}/rustup +ARG CARGO_BIN=${CARGO_HOME}/bin + +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile complete --default-toolchain stable --verbose + +ENV PATH="$CARGO_HOME/bin:${PATH}" + +RUN echo "=============================================" && \ + echo cargo $(cargo --version) && \ + echo rustc $(rustc --version) && \ + echo rustup $(rustup --version) && \ + echo "=============================================" + +################################################################## +# CMake +################################################################## +RUN mkdir -p ${CMAKE_DIR} +ADD ${CMAKE_DOWNLOAD_URL} /tmp + +RUN tar -xf ${CMAKE_TEMP} --directory ${CMAKE_DIR} --strip-components=1 && \ + chmod +x ${CMAKE_BIN_DIR}/ccmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake && \ + chmod +x ${CMAKE_BIN_DIR}/cmake-gui && \ + chmod +x ${CMAKE_BIN_DIR}/cpack && \ + chmod +x ${CMAKE_BIN_DIR}/ctest + +ENV PATH="${CMAKE_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo $(cmake --version) && \ + echo "=============================================" ################################################################## # Flutter SDK ################################################################## -RUN git clone https://github.com/flutter/flutter.git -b stable /usr/local/flutter -RUN flutter precache -RUN flutter config --no-analytics -RUN dart --disable-analytics -RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n" +RUN mkdir -p ${FLUTTER_DIR} +ADD ${FLUTTER_DOWNLOAD_URL} /tmp + +RUN tar -xf ${FLUTTER_TEMP} --directory ${FLUTTER_DIR} --strip-components=1 && \ + chmod +x ${FLUTTER_BIN_DIR}/dart && \ + chmod +x ${FLUTTER_BIN_DIR}/flutter && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/shared.sh && \ + chmod +x ${FLUTTER_BIN_DIR}/internal/update_dart_sdk.sh + +ENV PATH="${FLUTTER_BIN_DIR}:${PATH}" + +RUN git config --global --add safe.directory ${FLUTTER_DIR} && \ + flutter precache && \ + flutter config --no-analytics && \ + dart --disable-analytics + +RUN echo "=============================================" && \ + echo dart $(dart --version) && \ + echo flutter $(flutter --version) && \ + echo "=============================================" ################################################################## # GO compillers ################################################################## -RUN printf "\n--------------------------------\n$(go version)\n--------------------------------\n\n" +RUN mkdir -p ${GO_DIR} +ADD ${GO_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${GO_TEMP} --directory ${GO_DIR} --strip-components=1 && \ + chmod +x ${GO_BIN_DIR}/go && \ + chmod +x ${GO_BIN_DIR}/gofmt + +ENV GOPATH=${GO_DIR} +ENV PATH="${GO_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo go $(go version) && \ + echo "=============================================" ################################################################## # Get NINJA binary ################################################################## -RUN curl -s ${NINJA_RELEASE_URL} | jq -r ".assets[] | select(.name | test(\"${NINJA_ARCH}\")) | .browser_download_url" > /tmp/ninja-url.txt && \ - cat /tmp/ninja-url.txt && \ - cd /tmp && \ - wget -q -c --input-file=/tmp/ninja-url.txt && \ - unzip -o /tmp/ninja-linux.zip -d /bin && \ - printf "\n--------------------------------\nninja version: $(ninja --version)\n--------------------------------\n\n" +RUN mkdir -p ${NINJA_BIN_DIR} +ADD ${NINJA_DOWNLOAD_URL} /tmp + +RUN 7zz x ${NINJA_TEMP} -o${NINJA_BIN_DIR} -y && \ + chmod +x ${NINJA_BIN_DIR}/ninja + +ENV PATH="${NINJA_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo ninja $(ninja --version) && \ + echo "=============================================" + +################################################################## +# ZLIB library +################################################################## +RUN mkdir -p ${ZLIB_DIR} ${ZLIB_SRC_DIR} +ADD ${ZLIB_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${ZLIB_TEMP} --directory /tmp && \ + cp -rfv ${ZLIB_TEMP_SRC}/* ${ZLIB_SRC_DIR} && \ + ln -sf ${ZLIB_SRC_DIR} ${ZLIB_DIR}/src && \ + cd ${ZLIB_TEMP_SRC} && \ + ./configure \ +# --static \ + --prefix=${ZLIB_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# ZLIB support" >> ${LD_CONF_DIR}/ZLIB.conf && \ + echo ${ZLIB_LIB_DIR} >> ${LD_CONF_DIR}/ZLIB.conf && \ + ldconfig + +################################################################## +# ZSTD library +################################################################## +RUN mkdir -p ${ZSTD_DIR} ${ZSTD_SRC_DIR} +ADD ${ZSTD_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${ZSTD_TEMP} --directory /tmp && \ + cp -rfv ${ZSTD_TEMP_SRC}/* ${ZSTD_SRC_DIR} && \ + ln -sf ${ZSTD_SRC_DIR} ${ZSTD_DIR}/src && \ + cd ${ZSTD_TEMP_SRC} && \ + mkdir -p ${ZSTD_TEMP_SRC}/build/cmake/builddir && \ + cd ${ZSTD_TEMP_SRC}/build/cmake/builddir && \ + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${ZSTD_DIR} -DZSTD_BUILD_STATIC=ON -DZSTD_BUILD_SHARED=ON .. && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# ZSTD support" >> ${LD_CONF_DIR}/ZSTD.conf && \ + echo ${ZSTD_LIB_DIR} >> ${LD_CONF_DIR}/ZSTD.conf && \ + ldconfig + +ENV PATH="${ZSTD_BIN_DIR}:${PATH}" + +################################################################## +# PRCE2 static library +################################################################## +RUN mkdir -p ${PCRE_BIN_DIR} ${PCRE_SRC_DIR} +ADD ${PCRE_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${PCRE_TEMP} --directory /tmp && \ + cp -rfv ${PCRE_TEMP_SRC}/* ${PCRE_SRC_DIR} && \ + ln -sf ${PCRE_SRC_DIR} ${PCRE_DIR}/src && \ + cd ${PCRE_TEMP_SRC} && \ + ./configure --prefix=${PCRE_DIR} \ + --disable-silent-rules \ + --enable-shared \ + --enable-static \ + --enable-rebuild-chartables \ + --enable-pcre2-8 \ + --enable-pcre2-16 \ + --enable-pcre2-32 \ + --enable-jit \ + --enable-newline-is-cr \ + --enable-newline-is-lf \ + --enable-newline-is-anycrlf \ + --enable-newline-is-any \ + --enable-newline-is-nul \ + --enable-bsr-anycrlf \ + --enable-pcre2grep-libz \ + --enable-pcre2grep-libbz2 \ + --enable-pcre2test-libedit \ + --enable-unicode \ + --enable-valgrind \ + --enable-fuzz-support \ + --enable-diff-fuzz-support \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# PRCE2 support" >> ${LD_CONF_DIR}/PRCE2.conf && \ + echo ${PCRE_LIB_DIR} >> ${LD_CONF_DIR}/PRCE2.conf && \ + ldconfig + +ENV PATH="${PCRE_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo pcre2 $(pcre2-config --version) && \ + echo "=============================================" + +################################################################## +# LuaJIT2 OpenResty 2.1 +################################################################## +RUN mkdir -p ${LUAJIT2OR_DIR} ${LUAJIT2OR_SRC_DIR} && \ + git clone ${LUAJIT2OR_DOWNLOAD_URL} ${LUAJIT2OR_TEMP_SRC} && \ + cp -rfv ${LUAJIT2OR_TEMP_SRC}/* ${LUAJIT2OR_SRC_DIR} && \ + ln -sf ${LUAJIT2OR_SRC_DIR} ${LUAJIT2OR_DIR}/src && \ + cd ${LUAJIT2OR_TEMP_SRC} && \ +# make -j$(nproc) XCFLAGS='-DLUAJIT_ENABLE_GC64' BUILDMODE=static && \ + make -j$(nproc) XCFLAGS='-DLUAJIT_ENABLE_GC64' BUILDMODE=mixed && \ + make -j$(nproc) install PREFIX=${LUAJIT2OR_DIR} && \ + echo "# LuaJIT2 support" >> ${LD_CONF_DIR}/LuaJIT2.conf && \ + echo ${LUAJIT2OR_LIB_DIR} >> ${LD_CONF_DIR}/LuaJIT2.conf && \ + ldconfig + +ENV PATH="${LUAJIT2OR_BIN_DIR}:${PATH}" + +RUN echo "=============================================" && \ + echo luajit $(luajit -v) && \ + echo "=============================================" + +################################################################## +# IP2Location +################################################################## +RUN mkdir -p ${IP2LOC_DIR} ${IP2LOC_SRC_DIR} +ADD ${IP2LOC_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${IP2LOC_TEMP} --directory /tmp && \ + cp -rfv ${IP2LOC_TEMP_SRC}/* ${IP2LOC_SRC_DIR} && \ + ln -sf ${IP2LOC_SRC_DIR} ${IP2LOC_DIR}/src && \ + cd ${IP2LOC_TEMP_SRC} && \ + autoreconf -i -v --force && \ + aclocal && \ + automake --gnu --add-missing && \ + autoconf && \ + autoreconf -i -v --force && \ + ./configure \ + --prefix=${IP2LOC_DIR} \ + --disable-silent-rules \ + --enable-shared \ + --enable-static \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# IP2Location support" >> ${LD_CONF_DIR}/IP2Location.conf && \ + echo ${IP2LOC_LIB_DIR} >> ${LD_CONF_DIR}/IP2Location.conf && \ + ldconfig + +ENV PATH="${IP2LOC_BIN_DIR}:${PATH}" + +################################################################## +# libatomic_ops +################################################################## +RUN mkdir -p ${LIBATOMICOPS_DIR} ${LIBATOMICOPS_SRC_DIR} +ADD ${LIBATOMICOPS_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LIBATOMICOPS_TEMP} --directory /tmp && \ + cp -rfv ${LIBATOMICOPS_TEMP_SRC}/* ${LIBATOMICOPS_SRC_DIR} && \ + ln -sf ${LIBATOMICOPS_SRC_DIR} ${LIBATOMICOPS_DIR}/src && \ + cd ${LIBATOMICOPS_TEMP_SRC} && \ + ./autogen.sh && \ + ./configure \ + --prefix=${LIBATOMICOPS_DIR} \ + --disable-silent-rules \ + --enable-shared \ + --enable-static \ + --enable-assertions \ + --with-aix-soname=both \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + ln -sfv ${LIBATOMICOPS_SRC_DIR} ${LIBATOMICOPS_SRC_DIR}/src && \ + echo "# libatomic_ops support" >> ${LD_CONF_DIR}/libatomic_ops.conf && \ + echo ${LIBATOMICOPS_LIB_DIR} >> ${LD_CONF_DIR}/libatomic_ops.conf && \ + ldconfig + +################################################################## +# libimagequant +################################################################## +RUN mkdir -p ${LIBIMAGEQUANT_DIR} ${LIBIMAGEQUANT_SRC_DIR} + +RUN git clone ${LIBIMAGEQUANT_DOWNLOAD_URL} ${LIBIMAGEQUANT_TEMP_SRC} && \ + cp -rfv ${LIBIMAGEQUANT_TEMP_SRC}/* ${LIBIMAGEQUANT_SRC_DIR} && \ + ln -sf ${LIBIMAGEQUANT_SRC_DIR} ${LIBIMAGEQUANT_DIR}/src && \ + cd ${LIBIMAGEQUANT_TEMP_SRC} && \ + cargo build --release && \ + cd ${LIBIMAGEQUANT_TEMP_SRC}/imagequant-sys && \ + cargo build --release && \ + make -j$(nproc) && \ + make -j$(nproc) install + +################################################################## +# libraqm +################################################################## +RUN mkdir -p ${LIBRAQM_DIR} ${LIBRAQM_SRC_DIR} + +RUN git clone ${LIBRAQM_DOWNLOAD_URL} ${LIBRAQM_TEMP_SRC} && \ + cp -rfv ${LIBRAQM_TEMP_SRC}/* ${LIBRAQM_SRC_DIR} && \ + ln -sf ${LIBRAQM_SRC_DIR} ${LIBRAQM_DIR}/src && \ + cd ${LIBRAQM_TEMP_SRC} && \ + meson build && \ + ninja -C build && \ + ninja -C build install + +################################################################## +# libgd +################################################################## +RUN mkdir -p ${LIBGD_DIR} ${LIBGD_SRC_DIR} +ADD ${LIBGD_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LIBGD_TEMP} --directory /tmp && \ + cp -rfv ${LIBGD_TEMP_SRC}/* ${LIBGD_SRC_DIR} && \ + ln -sf ${LIBGD_SRC_DIR} ${LIBGD_DIR}/src && \ + cd ${LIBGD_TEMP_SRC} && \ + ./bootstrap.sh && \ + ./configure \ + --prefix=${LIBGD_DIR} \ + --disable-silent-rules \ + --enable-static \ + --enable-shared \ + --with-aix-soname=both \ + --with-libiconv-prefix \ + --with-zlib=${ZSTD_SRC_DIR} \ + --with-png --with-freetype \ + --with-raqm=${LIBRAQM_SRC_DIR} \ + --with-fontconfig \ + --with-jpeg \ + --with-liq=${LIBIMAGEQUANT_SRC_DIR} \ + --with-xpm \ + --with-gd \ + --enable-gd-formats \ + --with-tiff \ + --with-webp \ + --with-heif \ + --with-avif \ + --with-x \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# libgd support" >> ${LD_CONF_DIR}/libgd.conf && \ + echo ${LIBGD_LIB_DIR} >> ${LD_CONF_DIR}/libgd.conf && \ + ldconfig + +ENV PATH="${LIBGD_BIN_DIR}:${PATH}" + +# TO FIX +# ################################################################## +# # libxml2 +# ################################################################## +# RUN mkdir -p ${LIBXML2_DIR} ${LIBXML2_SRC_DIR} +# ADD ${LIBXML2_DOWNLOAD_URL} /tmp +# +# RUN tar -xzf ${LIBXML2_TEMP} --directory /tmp && \ +# cp -rfv ${LIBXML2_TEMP_SRC}/* ${LIBXML2_SRC_DIR} && \ +# ln -sf ${LIBXML2_SRC_DIR} ${LIBXML2_DIR}/src && \ +# cd ${LIBXML2_TEMP_SRC} && \ +# ./autogen.sh && \ +# ./configure \ +# --prefix=${LIBXML2_DIR} \ +# --disable-silent-rules \ +# --enable-static \ +# --enable-shared \ +# --with-aix-soname=both \ +# --with-c14n \ +# --with-catalog \ +# --with-debug \ +# --with-ftp \ +# --with-history \ +# --with-html \ +# --with-http \ +# --with-iconv \ +# --with-readline \ +# --with-http \ +# --with-icu \ +# --with-iso8859x \ +# --with-output \ +# --with-pattern \ +# --with-push \ +# --with-python \ +# --with-reader \ +# --with-regexps \ +# --with-sax1 \ +# --with-schemas \ +# --with-schematron \ +# --with-threads \ +# --with-thread-alloc \ +# --with-tree \ +# --with-valid \ +# --with-writer \ +# --with-xinclude \ +# --with-xpath \ +# --with-xptr \ +# --with-xptr-locs \ +# --with-lzma \ +# --with-zlib=${ZSTD_DIR} \ +# --with-legacy \ +# --with-tls \ +# --with-python-sys-prefix \ +# && \ +# make -j$(nproc) && \ +# make -j$(nproc) install && \ +# echo "# libxslt support" >> ${LD_CONF_DIR}/libxml2.conf && \ +# echo ${LIBXML2_LIB_DIR} >> ${LD_CONF_DIR}/libxml2.conf && \ +# ldconfig +# +# ENV PATH="${LIBXML2_BIN_DIR}:${PATH}" + +# TO FIX +# ################################################################## +# # libxslt +# ################################################################## +# RUN mkdir -p ${LIBXSLT_DIR} ${LIBXSLT_SRC_DIR} +# ADD ${LIBXSLT_DOWNLOAD_URL} /tmp +# +# RUN tar -xzf ${LIBXSLT_TEMP} --directory /tmp && \ +# cp -rfv ${LIBXSLT_TEMP_SRC}/* ${LIBXSLT_SRC_DIR} && \ +# ln -sf ${LIBXSLT_SRC_DIR} ${LIBXSLT_DIR}/src && \ +# cd ${LIBXSLT_TEMP_SRC} && \ +# ./autogen.sh && \ +# ./configure \ +# --prefix=${LIBXSLT_DIR} \ +# --disable-silent-rules \ +# --enable-static \ +# --enable-shared \ +# --with-aix-soname=both \ +# # --with-python-sys-prefix \ +# --with-crypto \ +# --with-debug \ +# --with-debugger \ +# --with-profiler \ +# --with-plugins \ +# && \ +# make -j$(nproc) && \ +# make -j$(nproc) install && \ +# echo "# libxslt support" >> ${LD_CONF_DIR}/libxslt.conf && \ +# echo ${LIBXSLT_LIB_DIR} >> ${LD_CONF_DIR}/libxslt.conf && \ +# ldconfig +# +# ENV PATH="${LIBXSLT_BIN_DIR}:${PATH}" + +################################################################## +# MAxMind GeoIP +################################################################## +RUN mkdir -p ${MM_GEOIP_DIR} ${MM_GEOIP_SRC_DIR} +ADD ${MM_GEOIP_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${MM_GEOIP_TEMP} --directory /tmp && \ + cp -rfv ${MM_GEOIP_TEMP_SRC}/* ${MM_GEOIP_SRC_DIR} && \ + ln -sf ${MM_GEOIP_SRC_DIR} ${MM_GEOIP_DIR}/src && \ + cd ${MM_GEOIP_TEMP_SRC} && \ + ./bootstrap && \ + aclocal && \ + autoconf && \ + automake --add-missing && \ + ./configure \ + --prefix=${MM_GEOIP_DIR} \ + --disable-silent-rules \ + --enable-shared \ + --enable-static \ + --enable-assertions \ + --with-aix-soname=both \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# GeoIP support" >> ${LD_CONF_DIR}/GeoIP.conf && \ + echo ${MM_GEOIP_LIB_DIR} >> ${LD_CONF_DIR}/GeoIP.conf && \ + ldconfig + +ENV PATH="${MM_GEOIP_BIN_DIR}:${PATH}" + +################################################################## +# Google perftools +################################################################## +RUN mkdir -p ${GPERFTOOLS_DIR} ${GPERFTOOLS_SRC_DIR} +ADD ${GPERFTOOLS_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${GPERFTOOLS_TEMP} --directory /tmp && \ + cp -rfv ${GPERFTOOLS_TEMP_SRC}/* ${GPERFTOOLS_SRC_DIR} && \ + ln -sf ${GPERFTOOLS_SRC_DIR} ${GPERFTOOLS_DIR}/src && \ + cd ${GPERFTOOLS_TEMP_SRC} && \ + ./configure \ + --prefix=${GPERFTOOLS_DIR} \ + --disable-silent-rules \ + --enable-shared \ + --enable-static \ + --enable-libunwind \ + --with-aix-soname=both \ + --enable-large-alloc-report \ + --enable-aggressive-decommit-by-default \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# Google perftools support" >> ${LD_CONF_DIR}/Googleperftools.conf && \ + echo ${GPERFTOOLS_LIB_DIR} >> ${LD_CONF_DIR}/Googleperftools.conf && \ + ldconfig + +ENV PATH="${GPERFTOOLS_BIN_DIR}:${PATH}" + +################################################################## +# OpenSSL 1.1.1.1 +################################################################## +RUN mkdir -p ${OPENSSL_111_DIR} ${OPENSSL_111_SRC_DIR} +ADD ${OPENSSL_111_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_111_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_111_TEMP_SRC}/* ${OPENSSL_111_SRC_DIR} && \ + ln -sf ${OPENSSL_111_SRC_DIR} ${OPENSSL_111_DIR}/src && \ + cd ${OPENSSL_111_TEMP_SRC} && \ + ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-ssl-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_111_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + +################################################################## +# OpenSSL 3.0.14 +################################################################## +RUN mkdir -p ${OPENSSL_30_DIR} ${OPENSSL_30_SRC_DIR} +ADD ${OPENSSL_30_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_30_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_30_TEMP_SRC}/* ${OPENSSL_30_SRC_DIR} && \ + ln -sf ${OPENSSL_30_SRC_DIR} ${OPENSSL_30_DIR}/src && \ + cd ${OPENSSL_30_TEMP_SRC} && \ + ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ktls \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-fips \ + enable-ssl-trace\ + enable-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_30_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + +################################################################## +# OpenSSL 3.1.6 +################################################################## +RUN mkdir -p ${OPENSSL_31_DIR} ${OPENSSL_31_SRC_DIR} +ADD ${OPENSSL_31_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_31_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_31_TEMP_SRC}/* ${OPENSSL_31_SRC_DIR} && \ + ln -sf ${OPENSSL_31_SRC_DIR} ${OPENSSL_31_DIR}/src && \ + cd ${OPENSSL_31_TEMP_SRC} && \ + ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ktls \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-fips \ + enable-ssl-trace\ + enable-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_31_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + +################################################################## +# OpenSSL 3.2.2 +################################################################## +RUN mkdir -p ${OPENSSL_32_DIR} ${OPENSSL_32_SRC_DIR} +ADD ${OPENSSL_32_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_32_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_32_TEMP_SRC}/* ${OPENSSL_32_SRC_DIR} && \ + ln -sf ${OPENSSL_32_SRC_DIR} ${OPENSSL_32_DIR}/src && \ + cd ${OPENSSL_32_TEMP_SRC} && \ + ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + --with-zstd-include=${ZSTD_DIR}/include \ + --with-zstd-lib=${ZSTD_DIR}/lib \ + enable-ktls \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-fips \ + enable-ssl-trace\ + enable-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_32_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + +################################################################## +# OpenSSL 3.3.1 +################################################################## +RUN mkdir -p ${OPENSSL_33_DIR} ${OPENSSL_33_SRC_DIR} +ADD ${OPENSSL_33_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_33_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_33_TEMP_SRC}/* ${OPENSSL_33_SRC_DIR} && \ + ln -sf ${OPENSSL_33_SRC_DIR} ${OPENSSL_33_DIR}/src && \ + cd ${OPENSSL_33_TEMP_SRC} && \ + ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + --with-zstd-include=${ZSTD_DIR}/include \ + --with-zstd-lib=${ZSTD_DIR}/lib \ + enable-ktls \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-fips \ + enable-ssl-trace\ + enable-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_33_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ + echo "# OpenSSL support" >> ${LD_CONF_DIR}/OpenSSL.conf && \ + echo ${OPENSSL_33_LIB_DIR} >> ${LD_CONF_DIR}/OpenSSL.conf && \ + ldconfig + +################################################################## +# LibreSSL +################################################################## +RUN mkdir -p ${LIBRESSL_DIR} ${LIBRESSL_SRC_DIR} +ADD ${LIBRESSL_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${LIBRESSL_TEMP} --directory /tmp && \ + cp -rfv ${LIBRESSL_TEMP_SRC}/* ${LIBRESSL_SRC_DIR} && \ + ln -sfv ${LIBRESSL_SRC_DIR} ${LIBRESSL_DIR}/src && \ + cd ${LIBRESSL_TEMP_SRC} && \ + ./config \ + --enable-static \ + --enable-shared \ + --disable-silent-rules \ + --prefix=${LIBRESSL_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install && \ +# echo "# LibreSSL support" >> ${LD_CONF_DIR}/LibreSSL.conf && \ +# echo ${LIBRESSL_LIB_DIR} >> ${LD_CONF_DIR}/LibreSSL.conf && \ + ldconfig + +################################################################## +# BoringSSL +################################################################## +RUN mkdir -p ${BORINGSSL_DIR} ${BORINGSSL_SRC_DIR} && \ + git clone -b ${BORINGSSL_VERSION} ${BORINGSSL_DOWNLOAD_URL} ${BORINGSSL_TEMP_SRC} && \ + cp -rfv ${BORINGSSL_TEMP_SRC}/* ${BORINGSSL_SRC_DIR} && \ + ln -sf ${BORINGSSL_SRC_DIR} ${BORINGSSL_DIR}/src && \ + cd ${BORINGSSL_TEMP_SRC} && \ + mkdir ${BORINGSSL_TEMP_SRC}/build && \ +# cmake -GNinja -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=${BORINGSSL_DIR} && \ +# ninja -C build && \ + cd ${BORINGSSL_TEMP_SRC}/build && \ + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=${BORINGSSL_DIR} .. && \ + make -j$(if [ $(nproc) -gt 8 ]; then echo $(( $(nproc) / 2 )); else echo $(nproc); fi) && \ + make -j$(nproc) install && \ +# echo "# BoringSSL support" >> ${LD_CONF_DIR}/BoringSSL.conf && \ +# echo ${BORINGSSL_LIB_DIR} >> ${LD_CONF_DIR}/BoringSSL.conf && \ + ldconfig ################################################################## # other customisations diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile index 3173ec5e0..dca5a2b4e 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile.develop index 512d25efb..c34a92934 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml index a9ee52205..0e369b29b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet5/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet5" + image: "epicmorg/debian:bullseye-dotnet5" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet5" + image: "epicmorg/debian:bullseye-develop-dotnet5" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile index afa3d0367..d97facd69 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile.develop index 109df3aeb..7b4b077ab 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml index 8b7917942..e417c5fcd 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet6/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet6" + image: "epicmorg/debian:bullseye-dotnet6" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet6" + image: "epicmorg/debian:bullseye-develop-dotnet6" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile index 237a6e78f..a801acff9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile.develop index a467c4429..8396f7d0e 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml index 583fe5225..08cd6cc08 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet7/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet7" + image: "epicmorg/debian:bullseye-dotnet7" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet7" + image: "epicmorg/debian:bullseye-develop-dotnet7" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile index 1f7d9c1c1..537a27c4f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile.develop index 0e183727e..182fc3ae7 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml index 38544bf4c..b3cd47351 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet8/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet8" + image: "epicmorg/debian:bullseye-dotnet8" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet8" + image: "epicmorg/debian:bullseye-develop-dotnet8" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile index 62546004d..19625c465 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile.develop index 865d0693f..f0f1fe351 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml index 1600392c5..3bbef14fe 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/dotnet9/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet9" + image: "epicmorg/debian:bullseye-dotnet9" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet9" + image: "epicmorg/debian:bullseye-develop-dotnet9" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile index fbb695310..8961bd924 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile.develop index 201b64413..fd8d496ac 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml index 8ec53ebe4..238e25926 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/lts/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet-lts" + image: "epicmorg/debian:bullseye-dotnet-lts" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet-lts" + image: "epicmorg/debian:bullseye-develop-dotnet-lts" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile index 0f9ce699b..5afeacd58 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile.develop index e4f4cd018..1e9cabc40 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml index 9b08d4313..c04e14cb6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/dotnet/sts/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-dotnet-sts" + image: "epicmorg/debian:bullseye-dotnet-sts" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-dotnet-sts" + image: "epicmorg/debian:bullseye-develop-dotnet-sts" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile index fbc8384ec..8e5c35a2c 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile.develop index 46efd5277..a2e5c3d65 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile index d03592e48..b4a53b44a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile.develop index 051fecf52..e83bbd52c 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile index ccc18ba71..cda6f5537 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile.develop index c08b6a05f..329e48238 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile index 47fff72b2..5c4920ff3 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile.develop index c2e717c2d..0793e1211 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile index 0f8fe6744..2fa5e8b16 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile @@ -131,7 +131,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio cvs \ python3-pip \ python3-all \ - python-all \ rclone \ logrotate \ subversion-tools \ diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile index cbc67f75f..9fa60e5b4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile.develop index a56ca1d3b..68e30f7d9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/Dockerfile.develop @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml index d72624519..4414646b0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/current/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs-current" + image: "epicmorg/debian:bullseye-nodejs-current" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs-current" + image: "epicmorg/debian:bullseye-develop-nodejs-current" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile index d5a0dab33..e1a33bded 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile.develop index 654d78251..58826ee11 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/Dockerfile.develop @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml index ef06ef263..7fb2defe4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/lts/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs-lts" + image: "epicmorg/debian:bullseye-nodejs-lts" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs-lts" + image: "epicmorg/debian:bullseye-develop-nodejs-lts" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile index bca73665a..aeb47d215 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile.develop index 20b5bbf7a..19caf5c88 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml index bf6a592f7..32aaf301f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node0.12/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs0.12" + image: "epicmorg/debian:bullseye-nodejs0.12" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs0.12" + image: "epicmorg/debian:bullseye-develop-nodejs0.12" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile index 7b76dea5f..f21e689a0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile.develop index 9c05fa019..3b8eb7a7a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml index 0663d553a..be088895a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node10/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs10" + image: "epicmorg/debian:bullseye-nodejs10" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs10" + image: "epicmorg/debian:bullseye-develop-nodejs10" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile index 295db78b6..2fd69e537 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile.develop index 6cc581719..0dc03f8e2 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml index f155001bf..e1babd83c 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node11/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs11" + image: "epicmorg/debian:bullseye-nodejs11" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs11" + image: "epicmorg/debian:bullseye-develop-nodejs11" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile index 6c0cf19d3..52a5e555d 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile.develop index 33071bee8..b7a2aaabc 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml index 9b78d08ec..4627ca9b4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node12/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs12" + image: "epicmorg/debian:bullseye-nodejs12" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs12" + image: "epicmorg/debian:bullseye-develop-nodejs12" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile index 1935e2253..46addb360 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile.develop index 1919db0c6..265eaee85 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml index 566ea7593..4fa330778 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node13/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs13" + image: "epicmorg/debian:bullseye-nodejs13" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs13" + image: "epicmorg/debian:bullseye-develop-nodejs13" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile index 2514ba4ce..3d852a47b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile.develop index a372c087e..2ed8ee9db 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml index 3739847a4..3fc2f04b8 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node14/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs14" + image: "epicmorg/debian:bullseye-nodejs14" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs14" + image: "epicmorg/debian:bullseye-develop-nodejs14" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile index 6a8376f9d..4ff2ca2d2 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile.develop index 648efb49a..8d8991095 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml index bf7bb6aa0..8d2e96661 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node15/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs15" + image: "epicmorg/debian:bullseye-nodejs15" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs15" + image: "epicmorg/debian:bullseye-develop-nodejs15" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile index 34d19f8ab..447f1f1a8 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile.develop index ef81af426..c5706bcef 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml index 11265b66a..d6576d9ab 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node16/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs16" + image: "epicmorg/debian:bullseye-nodejs16" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs16" + image: "epicmorg/debian:bullseye-develop-nodejs16" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile index 28aa1d844..cffdb2425 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile.develop index d96782e82..f68728189 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml index 9767fcf92..ff6064463 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node17/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs17" + image: "epicmorg/debian:bullseye-nodejs17" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs17" + image: "epicmorg/debian:bullseye-develop-nodejs17" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile index bde0d37b4..47be11cc0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile.develop index f622842ae..28ea6eee6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/Dockerfile.develop @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml index 08180963f..fef1d86d6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node18/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs18" + image: "epicmorg/debian:bullseye-nodejs18" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs18" + image: "epicmorg/debian:bullseye-develop-nodejs18" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile index 64067b72b..b97a4337a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile.develop index 760208433..040827192 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml index 71556822d..cb9d381d7 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node19/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs19" + image: "epicmorg/debian:bullseye-nodejs19" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs19" + image: "epicmorg/debian:bullseye-develop-nodejs19" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile index d5a0dab33..e1a33bded 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile.develop index 654d78251..58826ee11 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/Dockerfile.develop @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml index 1b08d8f67..1ba2cbef5 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node20/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs20" + image: "epicmorg/debian:bullseye-nodejs20" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs20" + image: "epicmorg/debian:bullseye-develop-nodejs20" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile index 6e73bf39a..3fd075f17 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile.develop index fd558c700..3a86c8a86 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml index 330846b05..1449c6c61 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node21/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs21" + image: "epicmorg/debian:bullseye-nodejs21" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs21" + image: "epicmorg/debian:bullseye-develop-nodejs21" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile index cbc67f75f..9fa60e5b4 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile.develop index a56ca1d3b..68e30f7d9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/Dockerfile.develop @@ -1,10 +1,10 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml index d17b69a68..d0105a3dc 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node22/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs22" + image: "epicmorg/debian:bullseye-nodejs22" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs22" + image: "epicmorg/debian:bullseye-develop-nodejs22" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile index 3acc1e6fb..ac2580270 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile.develop index b6411d2b1..79ea35c2a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml index 47803de7b..17a1ee740 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node4/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs4" + image: "epicmorg/debian:bullseye-nodejs4" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs4" + image: "epicmorg/debian:bullseye-develop-nodejs4" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile index 4fc72d55f..7c6314f46 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile.develop index 657a446fd..d5be5931a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml index 60a16bc93..e2f7e578b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node5/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs5" + image: "epicmorg/debian:bullseye-nodejs5" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs5" + image: "epicmorg/debian:bullseye-develop-nodejs5" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile index 186417346..024357dbc 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile.develop index 0c6ae6eb5..076274bf9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml index 9fcc0dc7c..1814d3e24 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node6/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs6" + image: "epicmorg/debian:bullseye-nodejs6" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs6" + image: "epicmorg/debian:bullseye-develop-nodejs6" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile index 41ff5d6c3..bcc68865b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile.develop index 8590cb520..8404b91cb 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml index b0c4e3b8f..4640d0f1a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node7/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs7" + image: "epicmorg/debian:bullseye-nodejs7" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs7" + image: "epicmorg/debian:bullseye-develop-nodejs7" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile index e94444389..61b520cba 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile.develop index c0deffcab..9df5d4bec 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml index 8f893a534..6660ca220 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node8/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs8" + image: "epicmorg/debian:bullseye-nodejs8" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs8" + image: "epicmorg/debian:bullseye-develop-nodejs8" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile index 4af67a0c3..1b6490fdd 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm +FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile.develop index 3e2b09383..c83dba274 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/Dockerfile.develop @@ -1,4 +1,4 @@ -FROM epicmorg/debian:bookworm-develop +FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml index b1794482e..fefb21340 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/nodejs/node9/docker-compose.yml @@ -1,11 +1,11 @@ #version: '3' services: app: - image: "epicmorg/debian:bookworm-nodejs9" + image: "epicmorg/debian:bullseye-nodejs9" build: context: . app-develop: - image: "epicmorg/debian:bookworm-develop-nodejs9" + image: "epicmorg/debian:bullseye-develop-nodejs9" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile index 805bfc77a..4e95f3765 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile @@ -60,6 +60,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio curl \ wget \ locate \ + unzip \ + zip \ sudo RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile index 179bf3413..bfa11145e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile @@ -321,6 +321,7 @@ RUN apt-get update && \ libldap2-dev \ libavformat-dev \ libavfilter-dev \ + libavif-dev \ libswscale-dev \ libavcodec-dev \ libz-dev \ diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile index 3173ec5e0..529b5ecfc 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile.develop index 512d25efb..524c3f360 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet5/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile index afa3d0367..258996d3a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile.develop index 109df3aeb..f322a5318 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet6/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile index 237a6e78f..a38da4838 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile.develop index a467c4429..153284cc8 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet7/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile index 1f7d9c1c1..8574ab0d6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile.develop index 0e183727e..e16ac5362 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet8/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile index 62546004d..e742d8103 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile.develop index 865d0693f..c4f972fe1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile index fbb695310..114fa73f1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile.develop index 201b64413..c3e8adec3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/lts/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile index 0f9ce699b..6bff193f5 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile.develop index e4f4cd018..eca32aec4 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/sts/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile index 0a8e7374e..15c1225b2 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile.develop index 4b89a5c4f..3ebddcd0a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile index 1263724c0..64d62d61e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile.develop index e90531154..4036ddaa4 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile index c3c111232..bd9e0f8ca 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile.develop index c3af6031e..9db98777e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile index b0a60c1e6..16be882a1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile.develop index 809e49358..9d8cc1d87 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile index cbc67f75f..d6e7209cf 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop index a56ca1d3b..c2c922a97 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile index d5a0dab33..cfbfe16d7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop index 654d78251..e631a5e83 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile index 7b76dea5f..7b5f56227 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile.develop index 9c05fa019..63e50a0b6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node10/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile index 295db78b6..4c27868b0 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile.develop index 6cc581719..4b64ac74e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node11/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile index 6c0cf19d3..41b5386d8 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile.develop index 33071bee8..e7bebffde 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node12/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile index 1935e2253..cbb441969 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile.develop index 1919db0c6..bbb9b799c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node13/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile index 2514ba4ce..8c6975ef5 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile.develop index a372c087e..0a78b1eac 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node14/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile index 6a8376f9d..88623fbb9 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile.develop index 648efb49a..51aa4c507 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node15/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile index 34d19f8ab..daff94641 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile.develop index ef81af426..a9b45091c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node16/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile index 28aa1d844..eafe27970 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile.develop index d96782e82..571baaa48 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node17/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile index bde0d37b4..c2adb094f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile.develop index f622842ae..7aad8713c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node18/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile index 64067b72b..698db46f5 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile.develop index 760208433..01643a139 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node19/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile index d5a0dab33..cfbfe16d7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile.develop index 654d78251..e631a5e83 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node20/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile index 6e73bf39a..eb80a3a91 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile.develop index fd558c700..de3df4f06 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node21/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile index cbc67f75f..d6e7209cf 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop index a56ca1d3b..c2c922a97 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile index 41ff5d6c3..f27edb84a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile.develop index 8590cb520..864b00ec0 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node7/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile index e94444389..66ed1d9f9 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile.develop index c0deffcab..23f904e74 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node8/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile index 4af67a0c3..3ec6cd4c3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile.develop index 3e2b09383..a473e9ff6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node9/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs index d49e508dd..6407841b9 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs index 36fda1a6d..bbee9e178 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs index aa1bb6b80..90a5f0268 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs index 4fa6ab08b..7d6ef5ea6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs index 6fdee146f..d6daca6ec 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs index 3601c151f..c97827c8f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs index 7447dde4a..3cbdf11f6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs index 7447dde4a..3cbdf11f6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs index 8878542a5..b9d29d6c5 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs @@ -3,7 +3,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -13,14 +13,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile index 1ca1f3f13..f5c1813e6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile @@ -61,6 +61,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio curl \ wget \ locate \ + unzip \ + zip \ sudo RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile index 9a7786471..f246ee5da 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile @@ -335,6 +335,7 @@ RUN apt-get update && \ libldap2-dev \ libavformat-dev \ libavfilter-dev \ + libavif-dev \ libswscale-dev \ libavcodec-dev \ libz-dev \ diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile index b21bf7f83..d72a56f1f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile.develop index 9ebc4e03f..185190f08 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet5/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile index 655ff2fa8..1e88d05fe 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile.develop index 155a84d00..87e8bb746 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet6/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile index fb2b0bf2f..4514823a1 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile.develop index 2de8dcf2f..e521d27cc 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet7/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile index 65182de85..5e903632c 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile.develop index f71d6fc22..b268080e0 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet8/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile index 5d6811266..6786bec95 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile.develop index 9fd6c81da..7583ac584 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/dotnet9/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile index 4bfb27e8c..59b12c82d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile.develop index 1dbffb0f7..6ed70126b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/lts/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile index 3992c09c5..dfa18777d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile.develop index e743d9f98..5caf9020f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/dotnet/sts/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile index eda84ba8b..58bf7ac1f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile.develop index fb5ef17c0..6bd9ccb2b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile index bfeec4f99..a13bd7161 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile.develop index a05f787aa..fce2c2e5d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile index 599745342..765f8fb33 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile.develop index aacc825df..bcfe67059 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile index a78b1bcc9..4d47c09f5 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile.develop index 24c3be7ef..7d9171dd4 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile index 654faba0a..14e680870 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile.develop index ac7dfb993..4c670bedd 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/current/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile index 0affa2b2f..222ef4f9b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile.develop index c14229f94..fba313cac 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/lts/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile index 85114e41a..d12e22a34 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile.develop index 14dd403ef..4414720b4 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node10/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile index ecfe51111..6bff0cbcb 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile.develop index 52651dfe3..898db6865 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node11/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile index faa437ee1..698d68b3d 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile.develop index 3cee1dded..b2feb8445 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node12/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile index 10e7a5848..fa6f6d237 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile.develop index 6bd6e1581..1e2f26245 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node13/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile index 05485a8cf..9fccbf6d1 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile.develop index f91064fd8..c1ef435f8 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node14/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile index 740d6f834..190f71f13 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile.develop index dacb1b282..e73c77960 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node15/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile index 6c697fbf6..bcdfe3210 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile.develop index 4e0be7d53..54a909253 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node16/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile index 1da69b5fa..e8a70b240 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile.develop index e7268430f..15a16754a 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node17/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile index 4c59a6f65..eaab1dff7 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile.develop index 4c59a6f65..eaab1dff7 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node18/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile index f632771fb..83b2c3ef6 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile.develop index 2416ae663..577a0b3a4 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node19/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile index 0affa2b2f..222ef4f9b 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile.develop index c14229f94..fba313cac 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node20/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile index dd7cbcd66..3130cb627 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile.develop index 4ac6e08f4..e5a1a0d33 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node21/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile index 654faba0a..14e680870 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile.develop index cab725003..3b7a95802 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node22/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile index 6e4e8da05..5eae7175f 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile.develop index 80229bf15..984639c72 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node7/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile index b50ad0a0c..1fff36a3a 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile.develop index df7e42dc6..15f4caab9 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node8/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile index f9b0a5b34..2a66e773a 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile.develop index b9fed3dcf..c7ddb8f56 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/13-trixie/nodejs/node9/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/slim/Dockerfile index da413ea1a..4b705eeb2 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/slim/Dockerfile @@ -61,6 +61,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio curl \ wget \ locate \ + unzip \ + zip \ sudo RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys diff --git a/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile index e4a17b486..9d50abd81 100644 --- a/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile @@ -321,6 +321,7 @@ RUN apt-get update && \ libldap2-dev \ libavformat-dev \ libavfilter-dev \ + libavif-dev \ libswscale-dev \ libavcodec-dev \ libz-dev \ diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile index 3ae817b74..52482eef5 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile.develop index 0bd5c412f..1bb46e277 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet5/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile index 1fa25ae7f..3c0d74a7d 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile.develop index 9fa32c1fe..4de0aaac7 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet6/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile index 894635fb7..6d57666d1 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile.develop index ecd52b668..1fe64d42d 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet7/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile index 995daeb19..3204aaac3 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile.develop index ef5b4fc90..d257d2821 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet8/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile index 93be6d988..911a7a331 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile.develop index e60699edf..1143d5dd4 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/dotnet9/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile index 534d1be58..f39602b47 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile.develop index 54874505f..0010df752 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/lts/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile index a3d93ba15..6627e197c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile @@ -24,14 +24,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} -################################################################## -# Setup certs -################################################################## -RUN dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM && \ - update-ca-certificates --fresh && \ - dotnet dev-certs https --trust - - ################################################################## # Version after install ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile.develop index 1ecf362a2..aaf5cdc76 100644 --- a/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/dotnet/sts/Dockerfile.develop @@ -23,7 +23,6 @@ RUN mkdir -p ${DOTNET_ROOT} && \ # Setup $PATH ################################################################## ENV PATH=$PATH:${DOTNET_ROOT}:${DOTNET_TOOLS_DIR} - ################################################################## # Setup certs ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile index 50edbc930..6cffadde1 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile.develop index 651293dcb..2a0de8271 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk11/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=11 -ARG K_JDK_FULL_VERSION=jdk-11.0.23 -ARG K_JDK_VERSION=11.0.23 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-11.0.24 +ARG K_JDK_VERSION=11.0.24 +ARG K_JDK_BUILD_VERSION=8 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile index 0aeef155f..c8f120149 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile.develop index 1308c2a86..5231be452 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk21/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=21 -ARG K_JDK_FULL_VERSION=jdk-21.0.3 -ARG K_JDK_VERSION=21.0.3 -ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_FULL_VERSION=jdk-21.0.4 +ARG K_JDK_VERSION=21.0.4 +ARG K_JDK_BUILD_VERSION=7 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile index 8809278fa..6f6cfabb7 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile.develop index 0a4af9f2f..59aa09212 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk22/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=22 -ARG K_JDK_FULL_VERSION=jdk-22.0.1 -ARG K_JDK_VERSION=22.0.1 -ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk-22.0.2 +ARG K_JDK_VERSION=22.0.2 +ARG K_JDK_BUILD_VERSION=9 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile index 3340a89f1..ba0901c00 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile.develop index 7f0173f83..d76f55523 100644 --- a/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/jdk/jdk8/Dockerfile.develop @@ -3,9 +3,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_JDK_MAJOR_VERSION=8 -ARG K_JDK_FULL_VERSION=jdk8u412 -ARG K_JDK_VERSION=8u412 -ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_FULL_VERSION=jdk8u422 +ARG K_JDK_VERSION=8u422 +ARG K_JDK_BUILD_VERSION=b05 ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz ARG K_JDK_TEMP=/tmp/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile index 5a9e6a3dc..fc3d5e774 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile.develop index 3d14bb5f2..f802a7898 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/current/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile index 1b0df15b6..334a409a2 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile.develop index 206a9bc35..24496a1a0 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/lts/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile index edee24913..95a621e0b 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile.develop index 68f422da1..d13924aee 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node10/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile index 5b0c24eba..ac7acd200 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile.develop index 9043f6b6e..882fdae6b 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node11/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@5 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile index 04f6ab015..cb25167db 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile.develop index 7a32dd7e5..b5d529133 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node12/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile index e2889baf3..84e899c72 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile.develop index a109a346f..d369f02a0 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node13/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@6 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile index 03fdd813c..5eea85776 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile.develop index 799a98fd2..0b15d0380 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node14/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@7 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile index f454606b7..c69e0d072 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile.develop index c7468a58b..5a3421497 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node15/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile index 4e7afe8e1..e8387b9de 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile.develop index c551c9732..9276e5456 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node16/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile index d579f31d1..2383df91c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile.develop index 4cefd8e86..94eb3c9ac 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node17/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md #RUN npm install -g pnpm yarn RUN npm install -g yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile index 177743c2c..25fa27883 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile.develop index 177743c2c..25fa27883 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node18/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=18 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.3 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.20.4 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile index d53d239dc..a45dfa8ab 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile.develop index 6eafac188..5e4119da8 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node19/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile index 1b0df15b6..334a409a2 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile.develop index 206a9bc35..24496a1a0 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node20/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.15.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile index 5a6ffe023..44bb82c44 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile.develop index 7deaf8140..f5afad483 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node21/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile index 5a9e6a3dc..fc3d5e774 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile.develop index 6adfc30a8..d25539d3c 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node22/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile index e6660e213..723eebe33 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile.develop index 6bfe6e117..c84928071 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node7/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile index b58d2720a..b8b66b07e 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile.develop index 584a46fd5..1ca8295b6 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node8/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile index 023690ee7..ae65d7cb8 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile.develop index 6fa6e83d1..2a0242c7d 100644 --- a/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/sid/nodejs/node9/Dockerfile.develop @@ -14,14 +14,12 @@ ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ && \ - rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md +ADD ${K_NODE_URL} /tmp +ADD ${K_NODE_HEADERS_URL} /tmp -RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_NODE_HEADERS_URL}?$(date +%s) \ - --header 'Cache-Control: no-cache, no-store' \ - --header 'Pragma: no-cache' | tar xzv --strip-components=1 --directory /usr/local/ +RUN tar -xvzf /tmp/node-v${K_NODE_VERSION}-linux-x64.tar.gz --strip-components=1 --directory /usr/local && \ + tar -xvzf /tmp/node-v${K_NODE_VERSION}-headers.tar.gz --strip-components=1 --directory /usr/local && \ + rm -rfv /usr/local/CHANGELOG.md /usr/local/LICENSE /usr/local/README.md RUN npm install -g pnpm@3 yarn diff --git a/linux/ecosystem/epicmorg/debian/sid/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/slim/Dockerfile index 3f021494c..ca551058b 100644 --- a/linux/ecosystem/epicmorg/debian/sid/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/slim/Dockerfile @@ -61,6 +61,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio curl \ wget \ locate \ + unzip \ + zip \ sudo RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys