re-enable building

This commit is contained in:
Greyscale 2022-08-28 13:23:21 +02:00
parent 456c5936cb
commit 9a89309b66
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
3 changed files with 34 additions and 8 deletions

View file

@ -43,7 +43,7 @@ RUN apk add --no-cache runit && \
php81-pecl-apcu \
ncurses \
xz \
&& ln -s /usr/bin/php81 /usr/bin/php \
&& ln -s /usr/bin/php81 /usr/bin/php
RUN curl https://getcomposer.org/composer-stable.phar --output /usr/local/bin/composer && \
chmod +x /usr/local/bin/composer
COPY start.sh /usr/local/bin/start.sh
@ -52,7 +52,7 @@ COPY sync-pull.runit /etc/service/sync-pull/run
COPY sync-push.runit /etc/service/sync-push/run
VOLUME /dumps
WORKDIR /sync
COPY composer.* /sync
COPY composer.* /sync/
COPY syncer /sync/syncer
COPY sync /sync/sync
COPY start.sh /sync/start.sh

View file

@ -6,12 +6,12 @@ group "default" {
"postgres-11",
"postgres-10",
"mariadb-10-9",
#"mariadb-10-8",
#"mariadb-10-7",
#"mariadb-10-6",
#"mariadb-10-5",
#"mariadb-10-4",
#"mariadb-10-3",
"mariadb-10-8",
"mariadb-10-7",
"mariadb-10-6",
"mariadb-10-5",
"mariadb-10-4",
"mariadb-10-3",
]
}

View file

@ -70,3 +70,29 @@ services:
- minio
volumes:
- ./:/sync
mariadb-10.3:
image: benzine/mysql:10.3
build:
context: .
target: mysql
dockerfile: Dockerfile.mariadb
args:
MARIADB_VERSION: 10.3
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MARIADB_USER: example
MARIADB_PASSWORD: changeme
MARIADB_DATABASE: s3db
S3_ENDPOINT: http://minio:9000/
S3_API_KEY: *s3_key
S3_API_SECRET: *s3_secret
S3_USE_PATH_STYLE_ENDPOINT: "yes"
S3_BUCKET: "s3db"
S3_PREFIX: "test/mariadb/"
ports:
- "127.0.0.127:3306:3306"
depends_on:
- minio
volumes:
- ./:/sync