From 6291e84fb3b5f52b0882c06a48a1ddccebaf29c7 Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Mon, 16 Dec 2019 14:26:27 -0800 Subject: CI: fix incorrect CWD for check script --- azure-pipelines.yml | 1 + docker/base.Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f86b388..3559031 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,6 +13,7 @@ jobs: name: check inputs: scriptPath: scripts/check_dockerfiles.sh + disableAutoCwd: true # Without a login the following Docker build tasks won't add image tags. - task: Docker@1 diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index 6a63b12..bbd0110 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -21,6 +21,7 @@ RUN make FROM python:3.8.0-slim-buster ENV PIP_NO_CACHE_DIR=false + RUN apt-get -y update \ && apt-get install -y \ gcc=4:8.3.* \ @@ -28,5 +29,6 @@ RUN apt-get -y update \ libprotobuf17=3.6.* \ && rm -rf /var/lib/apt/lists/* RUN pip install pipenv==2018.11.26 + COPY --from=builder /nsjail/nsjail /usr/sbin/ RUN chmod +x /usr/sbin/nsjail -- cgit v1.2.3