Skip to content

Commit 2021b08

Browse files
committed
Build docker images from cache
1 parent d3aeffe commit 2021b08

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,11 @@ build:
3939
docker pull frictionlessdata/datapackage-pipelines:latest &&\
4040
docker build -t frictionlessdata/datapackage-pipelines:latest --cache-from frictionlessdata/datapackage-pipelines . &&\
4141
docker build -t frictionlessdata/datapackage-pipelines:latest-alpine --cache-from frictionlessdata/datapackage-pipelines . &&\
42-
docker build -t frictionlessdata/datapackage-pipelines:latest-slim -f Dockerfile.slim . &&\
4342
docker build -t frictionlessdata/datapackage-pipelines:${VERSION} --cache-from frictionlessdata/datapackage-pipelines . &&\
4443
docker build -t frictionlessdata/datapackage-pipelines:${VERSION}-alpine --cache-from frictionlessdata/datapackage-pipelines . &&\
45-
docker build -t frictionlessdata/datapackage-pipelines:${VERSION}-slim -f Dockerfile.slim .
46-
47-
# docker pull frictionlessdata/datapackage-pipelines:latest-slim &&\
48-
# docker build -t datapackage-pipelines:latest-slim -f Dockerfile.slim --cache-from frictionlessdata/datapackage-pipelines:latest-slim . &&\
49-
# docker build -t datapackage-pipelines:${VERSION}-slim -f Dockerfile.slim --cache-from frictionlessdata/datapackage-pipelines:latest-slim .
44+
docker pull frictionlessdata/datapackage-pipelines:latest-slim &&\
45+
docker build -t datapackage-pipelines:latest-slim -f Dockerfile.slim --cache-from frictionlessdata/datapackage-pipelines:latest-slim . &&\
46+
docker build -t datapackage-pipelines:${VERSION}-slim -f Dockerfile.slim --cache-from frictionlessdata/datapackage-pipelines:latest-slim .
5047

5148

5249
deploy:

0 commit comments

Comments
 (0)