Skip to content

Commit abaef90

Browse files
committed
Update templating to pin to only major version and use a single template
It's extremely unlikely that memcached is going to maintain more than one major version at a time (even that seems to be a bit much sometimes, which is relatable). This also converts the Dockerfiles to use semicolons instead of `&&` chains (see https://github.com/docker-library/memcached/compare/b8a7264..00003b7 to compare this without that conversion). Additionally, this converts us to just two variants and auto-detects the latest Alpine/Debian, since we don't have a good reason to support more than one of each Debian and Alpine.
1 parent 1cd4fbf commit abaef90

13 files changed

+341
-425
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/*/**/Dockerfile linguist-generated
2+
/*/**/docker-entrypoint.sh linguist-generated
3+
/Dockerfile*.template linguist-language=Dockerfile

1.6/bookworm/Dockerfile

Lines changed: 0 additions & 96 deletions
This file was deleted.

1.6/alpine3.18/Dockerfile renamed to 1/alpine/Dockerfile

Lines changed: 26 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

1/debian/Dockerfile

Lines changed: 93 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

Dockerfile-alpine.template

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)