Skip to content

Commit aa98983

Browse files
author
Gabriel Monroy
committed
fix(builder): restore VOLUME instruction so builder does not stack overlay filesystems
fix(builder): add comment explaining dockerfile volume change
1 parent 98d979d commit aa98983

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)