small fixes to build

This commit is contained in:
2021-05-23 11:18:17 +00:00
parent d0e76cda2a
commit 4f837d60a0
4 changed files with 6 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
#/bin/bash
export REGISTRY="docker.triton2.fet.at"
# Build a development Image with Theia and all content
#docker build --no-cache -f Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .
#docker push $REGISTRY/dev_nginx:latest
# build a small nginx image to handle routing of /dev and other services
docker build --no-cache -f dockerfiles/Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .
docker push $REGISTRY/dev_nginx:latest
docker build --no-cache -f Dockerfile.theia -t $REGISTRY/dev_theia:latest .
# Build a development Image with Theia and all content
docker build --no-cache -f dockerfiles/Dockerfile.theia -t $REGISTRY/dev_theia:latest .
docker push $REGISTRY/dev_theia:latest

View File

@@ -10,7 +10,7 @@ RUN wget https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.t
# Install Python requirements to support development
COPY ./requirements.txt .
COPY ./config/requirements.txt .
run pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& pip3 install pytest pylint bandit flake8 black pytest-django six pytest-mock