Sign inSign up
syntax logo

btidor/syntax

By btidor

•Updated 2 days ago

🐳 Faster `apt-get install` in Dockerfiles

Image
0

3.5K

btidor/syntax repository overview

btidor/syntax is a syntax extension that makes it easier and faster to run apt-get install in Dockerfiles. By properly caching downloaded files and surfacing them in the Docker build DAG, it can reduce build times by 50%.

To use, add this magic comment to the top of your Dockerfile...

# syntax = btidor/syntax

...and install packages like so:

ADD --apt clang nginx sl

For more information, see the README on GitHub →⁠

Tag summary

Content type

Image

Digest

sha256:5d98ea124…

Size

7.2 MB

Last updated

2 days ago

docker pull btidor/syntax