Merge pull request #18 from CatDeployed/development

update mariadb name
This commit is contained in:
ILoveYaToo 2019-07-23 16:08:51 -04:00 committed by GitHub
commit e68b6dc54d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ jobs:
path: ~/repo path: ~/repo
- run: - run:
name: Build Postal Docker Container 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: - run:
name: Export Container name: Export Container
command: mkdir workspace && cd workspace && docker save --output postal_alpine.tar catdeployed/postal:alpine command: mkdir workspace && cd workspace && docker save --output postal_alpine.tar catdeployed/postal:alpine
@ -24,7 +24,7 @@ jobs:
path: ~/repo path: ~/repo
- run: - run:
name: Build Postal Docker Container name: Build Postal Docker Container
command: docker build -t catdeployed/postal:ubuntu . command: docker build --network=host -t catdeployed/postal:ubuntu .
- run: - run:
name: Export Container name: Export Container
command: mkdir workspace && cd workspace && docker save --output postal_ubuntu.tar catdeployed/postal:ubuntu command: mkdir workspace && cd workspace && docker save --output postal_ubuntu.tar catdeployed/postal:ubuntu

View File

@ -7,7 +7,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs && apt-get install -y nodejs
RUN apt-get -y update \ 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 \ && git clone https://github.com/atech/postal.git /opt/postal \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& gem install bundler \ && gem install bundler \