re-enable building
This commit is contained in:
parent
456c5936cb
commit
9a89309b66
3 changed files with 34 additions and 8 deletions
|
|
@ -43,7 +43,7 @@ RUN apk add --no-cache runit && \
|
||||||
php81-pecl-apcu \
|
php81-pecl-apcu \
|
||||||
ncurses \
|
ncurses \
|
||||||
xz \
|
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 && \
|
RUN curl https://getcomposer.org/composer-stable.phar --output /usr/local/bin/composer && \
|
||||||
chmod +x /usr/local/bin/composer
|
chmod +x /usr/local/bin/composer
|
||||||
COPY start.sh /usr/local/bin/start.sh
|
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
|
COPY sync-push.runit /etc/service/sync-push/run
|
||||||
VOLUME /dumps
|
VOLUME /dumps
|
||||||
WORKDIR /sync
|
WORKDIR /sync
|
||||||
COPY composer.* /sync
|
COPY composer.* /sync/
|
||||||
COPY syncer /sync/syncer
|
COPY syncer /sync/syncer
|
||||||
COPY sync /sync/sync
|
COPY sync /sync/sync
|
||||||
COPY start.sh /sync/start.sh
|
COPY start.sh /sync/start.sh
|
||||||
|
|
|
||||||
12
bake.hcl
12
bake.hcl
|
|
@ -6,12 +6,12 @@ group "default" {
|
||||||
"postgres-11",
|
"postgres-11",
|
||||||
"postgres-10",
|
"postgres-10",
|
||||||
"mariadb-10-9",
|
"mariadb-10-9",
|
||||||
#"mariadb-10-8",
|
"mariadb-10-8",
|
||||||
#"mariadb-10-7",
|
"mariadb-10-7",
|
||||||
#"mariadb-10-6",
|
"mariadb-10-6",
|
||||||
#"mariadb-10-5",
|
"mariadb-10-5",
|
||||||
#"mariadb-10-4",
|
"mariadb-10-4",
|
||||||
#"mariadb-10-3",
|
"mariadb-10-3",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,3 +70,29 @@ services:
|
||||||
- minio
|
- minio
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/sync
|
- ./:/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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue