From 974f601fa94d7e13173a253f2ab6de378179fec3 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 16 Sep 2021 00:07:02 -0400 Subject: [PATCH] dev: speed up devcontainer building by only copying the tests.mk file as Makefile first --- .devcontainer/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 952c4f312..ac47a30bd 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -10,8 +10,9 @@ RUN apt-get install --no-install-recommends -y build-essential file nano && \ ADD https://raw.githubusercontent.com/dokku/dokku/master/tests/dhparam.pem /mnt/dokku/etc/nginx/dhparam.pem COPY .devcontainer/bin/ /usr/local/bin/ -COPY . . - +COPY ["tests.mk", "Makefile"] RUN make ci-dependencies -ENV DOKKU_HOSTNAME=dokku.me +COPY . . + +ENV DOKKU_HOSTNAME=dokku.me \ No newline at end of file