From 89432d8cee582336b4874d44284ff73d4e6e6e53 Mon Sep 17 00:00:00 2001 From: CatDeployed Date: Sun, 14 Jul 2019 21:33:45 -0400 Subject: [PATCH] update mariadb name --- .circleci/config.yml | 4 ++-- ubuntu/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bc6df2b..f3aeb19 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: path: ~/repo - run: name: Build Postal Docker Container - command: docker build -t catdeployed/postal:latest -t catdeployed/postal:alpine . + command: docker build --network=host -t catdeployed/postal:latest -t catdeployed/postal:alpine . - run: name: Export Container command: mkdir workspace && cd workspace && docker save --output postal_alpine.tar catdeployed/postal:alpine @@ -24,7 +24,7 @@ jobs: path: ~/repo - run: name: Build Postal Docker Container - command: docker build -t catdeployed/postal:ubuntu . + command: docker build --network=host -t catdeployed/postal:ubuntu . - run: name: Export Container command: mkdir workspace && cd workspace && docker save --output postal_ubuntu.tar catdeployed/postal:ubuntu diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index d4a3911..f833020 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -7,7 +7,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ && apt-get install -y nodejs RUN apt-get -y update \ - && apt-get -y install --no-install-recommends nodejs mysql-client git-core libcap2-bin \ + && apt-get -y install --no-install-recommends nodejs mariadb-client git-core libcap2-bin \ && git clone https://github.com/atech/postal.git /opt/postal \ && rm -rf /var/lib/apt/lists/* \ && gem install bundler \