Skip to content

Commit

Permalink
Enable BuildKit by default
Browse files Browse the repository at this point in the history
  • Loading branch information
silver886 committed Jun 16, 2021
1 parent 840505d commit 3fe3139
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,15 @@ RUN DOCKER_CHANNEL='stable'; \
chroot . "$binary" --version; \
done

# set up docker
RUN { \
echo '{'; \
echo ' "features": {'; \
echo ' "buildkit": true'; \
echo ' }'; \
echo '}'; \
} > /etc/docker/daemon.json

# set up a few branding bits
RUN { \
echo 'NAME=Boot2Docker'; \
Expand Down

0 comments on commit 3fe3139

Please sign in to comment.