Updated Alpine to 3.18

This commit is contained in:
Alexey Pustovalov 2023-06-19 23:55:50 +09:00
parent 2c8617c105
commit 0384443774
16 changed files with 39 additions and 40 deletions

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION=7.0
ARG ZBX_VERSION=${MAJOR_VERSION}

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION=7.0
ARG ZBX_VERSION=${MAJOR_VERSION}

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM alpine:3.17
FROM alpine:3.18
ARG MAJOR_VERSION
ARG ZBX_VERSION

View File

@ -1,17 +1,16 @@
version: '3.5'
services:
zabbix-build-base:
build:
context: ./Dockerfiles/build-base/alpine
cache_from:
- alpine:3.17
- alpine:3.18
image: zabbix-build-base:alpine-local
zabbix-build-mysql:
build:
context: ./Dockerfiles/build-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
image: zabbix-build-mysql:alpine-local
@ -22,7 +21,7 @@ services:
build:
context: ./Dockerfiles/build-sqlite3/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
image: zabbix-build-sqlite3:alpine-local
@ -35,7 +34,7 @@ services:
build:
context: ./Dockerfiles/server-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-server-mysql:alpine-local
@ -108,7 +107,7 @@ services:
build:
context: ./Dockerfiles/proxy-sqlite3/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-sqlite3:alpine-local
image: zabbix-proxy-sqlite3:alpine-local
@ -164,7 +163,7 @@ services:
build:
context: ./Dockerfiles/proxy-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-proxy-mysql:alpine-local
@ -231,7 +230,7 @@ services:
build:
context: ./Dockerfiles/web-apache-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-web-apache-mysql:alpine-local
@ -295,7 +294,7 @@ services:
build:
context: ./Dockerfiles/web-nginx-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-web-nginx-mysql:alpine-local
@ -357,7 +356,7 @@ services:
build:
context: ./Dockerfiles/agent/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-agent:alpine-local
@ -405,7 +404,7 @@ services:
build:
context: ./Dockerfiles/java-gateway/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-java-gateway:alpine-local
@ -442,7 +441,7 @@ services:
build:
context: ./Dockerfiles/snmptraps/alpine
cache_from:
- alpine:3.17
- alpine:3.18
image: zabbix-snmptraps:alpine-local
profiles:
- full
@ -475,7 +474,7 @@ services:
build:
context: ./Dockerfiles/web-service/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-web-service:alpine-local

View File

@ -4,14 +4,14 @@ services:
build:
context: ./Dockerfiles/build-base/alpine
cache_from:
- alpine:3.17
- alpine:3.18
image: zabbix-build-base:alpine-local
zabbix-build-pgsql:
build:
context: ./Dockerfiles/build-pgsql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
image: zabbix-build-pgsql:alpine-local
@ -22,7 +22,7 @@ services:
build:
context: ./Dockerfiles/build-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
image: zabbix-build-mysql:alpine-local
@ -35,7 +35,7 @@ services:
build:
context: ./Dockerfiles/build-sqlite3/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
image: zabbix-build-sqlite3:alpine-local
@ -48,7 +48,7 @@ services:
build:
context: ./Dockerfiles/server-pgsql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
image: zabbix-server-pgsql:alpine-local
@ -118,7 +118,7 @@ services:
build:
context: ./Dockerfiles/proxy-sqlite3/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-sqlite3:alpine-local
image: zabbix-proxy-sqlite3:alpine-local
@ -174,7 +174,7 @@ services:
build:
context: ./Dockerfiles/proxy-mysql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
image: zabbix-proxy-mysql:alpine-local
@ -237,7 +237,7 @@ services:
build:
context: ./Dockerfiles/web-apache-pgsql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
image: zabbix-web-apache-pgsql:alpine-local
@ -300,7 +300,7 @@ services:
build:
context: ./Dockerfiles/web-nginx-pgsql/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
image: zabbix-web-nginx-pgsql:alpine-local
@ -361,7 +361,7 @@ services:
build:
context: ./Dockerfiles/agent/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
image: zabbix-agent:alpine-local
@ -409,7 +409,7 @@ services:
build:
context: ./Dockerfiles/java-gateway/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
image: zabbix-java-gateway:alpine-local
@ -446,7 +446,7 @@ services:
build:
context: ./Dockerfiles/snmptraps/alpine
cache_from:
- alpine:3.17
- alpine:3.18
image: zabbix-snmptraps:alpine-local
profiles:
- full
@ -479,7 +479,7 @@ services:
build:
context: ./Dockerfiles/web-service/alpine
cache_from:
- alpine:3.17
- alpine:3.18
args:
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
image: zabbix-web-service:alpine-local