Skip to content

Commit c162bc6

Browse files
author
Gabriel Monroy
committed
Merge pull request #1996 from gabrtv/fix-builder-volume
fix(builder): restore VOLUME instruction so builder does not stack overlay filesystems
2 parents 98d979d + aa98983 commit c162bc6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

builder/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ RUN curl -#SL -o /progrium_cedarish.tar \
5353
https://s3-us-west-2.amazonaws.com/opdemand/progrium_cedarish_cedar.tar
5454

5555
# define the execution environment
56+
# use VOLUME to remove /var/lib/docker from copy-on-write for performance
57+
# we don't want to stack overlay filesystems
58+
VOLUME /var/lib/docker
5659
WORKDIR /app
5760
ENTRYPOINT ["/app/bin/entry"]
5861
CMD ["/app/bin/boot"]

0 commit comments

Comments
 (0)