Skip to content

Commit

Permalink
fix(docker): Fix mysql setup bug (#5071)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexter Lee authored Jun 2, 2022
1 parent 640affd commit d31c009
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose-without-neo4j.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
build:
context: ../
dockerfile: docker/mysql-setup/Dockerfile
image: acryldata/datahub-mysql-setup:head
image: acryldata/datahub-mysql-setup:${DATAHUB_VERSION:-head}
env_file: mysql-setup/env/docker.env
hostname: mysql-setup
container_name: mysql-setup
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
build:
context: ../
dockerfile: docker/mysql-setup/Dockerfile
image: acryldata/datahub-mysql-setup:head
image: acryldata/datahub-mysql-setup:${DATAHUB_VERSION:-head}
env_file: mysql-setup/env/docker.env
hostname: mysql-setup
container_name: mysql-setup
Expand Down
2 changes: 1 addition & 1 deletion docker/mysql-setup/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3

ENV DOCKERIZE_VERSION v0.6.1
RUN apk add --no-cache mysql-client curl tar \
RUN apk add --no-cache mysql-client curl tar bash \
&& curl -L https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz | tar -C /usr/local/bin -xzv

COPY docker/mysql-setup/init.sql /init.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ services:
- MYSQL_PASSWORD=datahub
- DATAHUB_DB_NAME=datahub
hostname: mysql-setup
image: acryldata/datahub-mysql-setup:head
image: acryldata/datahub-mysql-setup:${DATAHUB_VERSION:-head}
schema-registry:
container_name: schema-registry
depends_on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ services:
- MYSQL_PASSWORD=datahub
- DATAHUB_DB_NAME=datahub
hostname: mysql-setup
image: acryldata/datahub-mysql-setup:head
image: acryldata/datahub-mysql-setup:${DATAHUB_VERSION:-head}
schema-registry:
container_name: schema-registry
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion docker/quickstart/docker-compose.quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ services:
- MYSQL_PASSWORD=datahub
- DATAHUB_DB_NAME=datahub
hostname: mysql-setup
image: acryldata/datahub-mysql-setup:head
image: acryldata/datahub-mysql-setup:${DATAHUB_VERSION:-head}
neo4j:
container_name: neo4j
environment:
Expand Down

0 comments on commit d31c009

Please sign in to comment.