fix(docker): add apk upgrade to helper, realtime, and development Dockerfiles (#9437)
This commit is contained in:
commit
4b698d2cb3
10 changed files with 16 additions and 13 deletions
|
|
@ -3,8 +3,8 @@
|
||||||
return [
|
return [
|
||||||
'coolify' => [
|
'coolify' => [
|
||||||
'version' => '4.0.0-beta.471',
|
'version' => '4.0.0-beta.471',
|
||||||
'helper_version' => '1.0.12',
|
'helper_version' => '1.0.13',
|
||||||
'realtime_version' => '1.0.11',
|
'realtime_version' => '1.0.12',
|
||||||
'self_hosted' => env('SELF_HOSTED', true),
|
'self_hosted' => env('SELF_HOSTED', true),
|
||||||
'autoupdate' => env('AUTOUPDATE'),
|
'autoupdate' => env('AUTOUPDATE'),
|
||||||
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
|
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
soketi:
|
soketi:
|
||||||
image: '${REGISTRY_URL:-ghcr.io}/coollabsio/coolify-realtime:1.0.11'
|
image: '${REGISTRY_URL:-ghcr.io}/coollabsio/coolify-realtime:1.0.12'
|
||||||
ports:
|
ports:
|
||||||
- "${SOKETI_PORT:-6001}:6001"
|
- "${SOKETI_PORT:-6001}:6001"
|
||||||
- "6002:6002"
|
- "6002:6002"
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
soketi:
|
soketi:
|
||||||
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.10'
|
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.12'
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
container_name: coolify-realtime
|
container_name: coolify-realtime
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,8 @@ ARG NIXPACKS_VERSION
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
WORKDIR /artifacts
|
WORKDIR /artifacts
|
||||||
RUN apk add --no-cache bash curl git git-lfs openssh-client tar tini
|
RUN apk upgrade --no-cache && \
|
||||||
|
apk add --no-cache bash curl git git-lfs openssh-client tar tini
|
||||||
RUN mkdir -p ~/.docker/cli-plugins
|
RUN mkdir -p ~/.docker/cli-plugins
|
||||||
RUN if [[ ${TARGETPLATFORM} == 'linux/amd64' ]]; then \
|
RUN if [[ ${TARGETPLATFORM} == 'linux/amd64' ]]; then \
|
||||||
curl -sSL https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 -o ~/.docker/cli-plugins/docker-buildx && \
|
curl -sSL https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 -o ~/.docker/cli-plugins/docker-buildx && \
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,8 @@ ARG TARGETPLATFORM
|
||||||
ARG CLOUDFLARED_VERSION
|
ARG CLOUDFLARED_VERSION
|
||||||
|
|
||||||
WORKDIR /terminal
|
WORKDIR /terminal
|
||||||
RUN apk add --no-cache openssh-client make g++ python3 curl
|
RUN apk upgrade --no-cache && \
|
||||||
|
apk add --no-cache openssh-client make g++ python3 curl
|
||||||
COPY docker/coolify-realtime/package.json ./
|
COPY docker/coolify-realtime/package.json ./
|
||||||
RUN npm i
|
RUN npm i
|
||||||
RUN npm rebuild node-pty --update-binary
|
RUN npm rebuild node-pty --update-binary
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,8 @@ RUN docker-php-serversideup-set-id www-data $USER_ID:$GROUP_ID && \
|
||||||
docker-php-serversideup-set-file-permissions --owner $USER_ID:$GROUP_ID --service nginx
|
docker-php-serversideup-set-file-permissions --owner $USER_ID:$GROUP_ID --service nginx
|
||||||
|
|
||||||
# Install PostgreSQL repository and keys
|
# Install PostgreSQL repository and keys
|
||||||
RUN apk add --no-cache gnupg && \
|
RUN apk upgrade --no-cache && \
|
||||||
|
apk add --no-cache gnupg && \
|
||||||
mkdir -p /usr/share/keyrings && \
|
mkdir -p /usr/share/keyrings && \
|
||||||
curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /usr/share/keyrings/postgresql.gpg
|
curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /usr/share/keyrings/postgresql.gpg
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
soketi:
|
soketi:
|
||||||
image: '${REGISTRY_URL:-ghcr.io}/coollabsio/coolify-realtime:1.0.11'
|
image: '${REGISTRY_URL:-ghcr.io}/coollabsio/coolify-realtime:1.0.12'
|
||||||
ports:
|
ports:
|
||||||
- "${SOKETI_PORT:-6001}:6001"
|
- "${SOKETI_PORT:-6001}:6001"
|
||||||
- "6002:6002"
|
- "6002:6002"
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
soketi:
|
soketi:
|
||||||
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.10'
|
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.12'
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
container_name: coolify-realtime
|
container_name: coolify-realtime
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@
|
||||||
"version": "4.0.0"
|
"version": "4.0.0"
|
||||||
},
|
},
|
||||||
"helper": {
|
"helper": {
|
||||||
"version": "1.0.12"
|
"version": "1.0.13"
|
||||||
},
|
},
|
||||||
"realtime": {
|
"realtime": {
|
||||||
"version": "1.0.11"
|
"version": "1.0.12"
|
||||||
},
|
},
|
||||||
"sentinel": {
|
"sentinel": {
|
||||||
"version": "0.0.21"
|
"version": "0.0.21"
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@
|
||||||
"version": "4.0.0"
|
"version": "4.0.0"
|
||||||
},
|
},
|
||||||
"helper": {
|
"helper": {
|
||||||
"version": "1.0.12"
|
"version": "1.0.13"
|
||||||
},
|
},
|
||||||
"realtime": {
|
"realtime": {
|
||||||
"version": "1.0.11"
|
"version": "1.0.12"
|
||||||
},
|
},
|
||||||
"sentinel": {
|
"sentinel": {
|
||||||
"version": "0.0.21"
|
"version": "0.0.21"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue