From 0dd34412c38fbc8667f457738c4c6fffe8edc053 Mon Sep 17 00:00:00 2001 From: Agung Sundoro Date: Thu, 15 Dec 2022 12:22:19 +0700 Subject: [PATCH 1/4] Add openssl --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d3a5eff..4a2f7c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN apk update && apk add \ git \ zip unzip \ nodejs npm \ - python3 py3-pip + python3 py3-pip \ + openssl # composer RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \ From a74dcc422fc1b78134264c4a9c8537e48e714e64 Mon Sep 17 00:00:00 2001 From: Agung Sundoro Date: Thu, 15 Dec 2022 12:35:52 +0700 Subject: [PATCH 2/4] Use debian package instead using alpine --- Dockerfile | 14 +++++++------- docker-compose.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a2f7c7..db12fd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM php:8.2-cli-alpine3.16 +FROM php:8.2-cli WORKDIR /app -RUN apk update && apk add \ - bash \ +RUN apt-get update && apt get install -y \ wget curl \ git \ - zip unzip \ - nodejs npm \ - python3 py3-pip \ - openssl + zip unzip + +# node +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ + && apt-get install -y nodejs # composer RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \ diff --git a/docker-compose.yml b/docker-compose.yml index 4464290..b8d5020 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,6 @@ services: kuli: container_name: kuli - image: artistudioxyz/kuli:latest + image: ghcr.io/artistudioxyz/kuli:latest build: . restart: always \ No newline at end of file From 2ef73089f567464fc9e06db50bda83511e0f59d2 Mon Sep 17 00:00:00 2001 From: Agung Sundoro Date: Thu, 15 Dec 2022 12:37:24 +0700 Subject: [PATCH 3/4] Use debian package instead using alpine, fix dash --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index db12fd1..e510b66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM php:8.2-cli WORKDIR /app -RUN apt-get update && apt get install -y \ +RUN apt-get update && apt-get install -y \ wget curl \ git \ zip unzip From c28f22c22c22a87ca939427c841c0a2095fa66c4 Mon Sep 17 00:00:00 2001 From: Agung Sundoro Date: Thu, 15 Dec 2022 12:57:19 +0700 Subject: [PATCH 4/4] Revert to nodejs 14 cant build script --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e510b66..c1eb3f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,8 @@ FROM php:8.2-cli WORKDIR /app RUN apt-get update && apt-get install -y \ - wget curl \ - git \ - zip unzip + git \ + zip unzip # node RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \