Commit 1ea7f0cb by Clinton Blackburn Committed by Clinton Blackburn

Updated Travis to build an image for testing

Previously we relied on the firefox and xvfb packages living in our images. This is no longer the case as these packages are not needed for production-like environments. We now create a new image, with the "test" tag, that includes these packages.

LEARNER-818
parent 805808dd
FROM edxops/ecommerce:latest
RUN apt-get update && \
apt-get install --no-install-recommends -y \
firefox \
xvfb \
&& rm -rf /var/lib/apt/lists/*
...@@ -13,8 +13,9 @@ services: ...@@ -13,8 +13,9 @@ services:
MYSQL_PASSWORD: "password" MYSQL_PASSWORD: "password"
MYSQL_DATABASE: "ecommerce" MYSQL_DATABASE: "ecommerce"
ecommerce: ecommerce:
image: edxops/ecommerce:latest image: edxops/ecommerce:test
container_name: ecommerce_testing container_name: ecommerce_testing
build: .
volumes: volumes:
- ..:/edx/app/ecommerce/ecommerce - ..:/edx/app/ecommerce/ecommerce
- $HOME/.cache/pip:/edx/app/ecommerce/.cache/pip - $HOME/.cache/pip:/edx/app/ecommerce/.cache/pip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment