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 \