Skip to content

Commit 669ba82

Browse files
Run update.sh
1 parent 9fac77a commit 669ba82

File tree

9 files changed

+121
-101
lines changed

9 files changed

+121
-101
lines changed

archlinux/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`latest`, `base`, `base-20220320.0.50753`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/13942875d8b6627ad09e4c7d51ae88c7b086a4b0/Dockerfile.base)
28-
- [`base-devel`, `base-devel-20220320.0.50753`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/13942875d8b6627ad09e4c7d51ae88c7b086a4b0/Dockerfile.base-devel)
27+
- [`latest`, `base`, `base-20220403.0.51871`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/4217f5b9f1a5756e864e46e7783c92a22ad322ce/Dockerfile.base)
28+
- [`base-devel`, `base-devel-20220403.0.51871`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/4217f5b9f1a5756e864e46e7783c92a22ad322ce/Dockerfile.base-devel)
2929

3030
# Quick reference (cont.)
3131

clearlinux/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`latest`, `base`](https://github.com/clearlinux/docker-brew-clearlinux/blob/e159d1b8a1503af008fe8586f4dabf8e784ad514/Dockerfile)
27+
- [`latest`, `base`](https://github.com/clearlinux/docker-brew-clearlinux/blob/6bef694045e4da5eb301ba151a07d28fdd219c3f/Dockerfile)
2828

2929
# Quick reference (cont.)
3030

clojure/README.md

Lines changed: 58 additions & 58 deletions
Large diffs are not rendered by default.

composer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`2.3.2`, `2.3`, `2`, `latest`](https://github.com/composer/docker/blob/6f735b28c06a4042fdcc9fe7193d203459a367b7/2.3/Dockerfile)
28-
- [`2.2.10`, `2.2`](https://github.com/composer/docker/blob/24ffb125524548e6fbd0a7c6316b9a90a33207bd/2.2/Dockerfile)
27+
- [`2.3.3`, `2.3`, `2`, `latest`](https://github.com/composer/docker/blob/45e724f8a12c71445b29844cf75e35af924ff58b/2.3/Dockerfile)
28+
- [`2.2.11`, `2.2`](https://github.com/composer/docker/blob/3b707ab78b355610ecf5d08a39c6c9bc03f44efc/2.2/Dockerfile)
2929
- [`1.10.25`, `1.10`, `1`](https://github.com/composer/docker/blob/6324b22ce6331a1083baf1eb5504c03bfbe0db1a/1.10/Dockerfile)
3030

3131
# Quick reference (cont.)

mediawiki/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`1.37.1`, `1.37`, `stable`, `latest`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.37/apache/Dockerfile)
28-
- [`1.37.1-fpm`, `1.37-fpm`, `stable-fpm`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.37/fpm/Dockerfile)
29-
- [`1.37.1-fpm-alpine`, `1.37-fpm-alpine`, `stable-fpm-alpine`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.37/fpm-alpine/Dockerfile)
30-
- [`1.36.3`, `1.36`, `legacy`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.36/apache/Dockerfile)
31-
- [`1.36.3-fpm`, `1.36-fpm`, `legacy-fpm`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.36/fpm/Dockerfile)
32-
- [`1.36.3-fpm-alpine`, `1.36-fpm-alpine`, `legacy-fpm-alpine`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.36/fpm-alpine/Dockerfile)
33-
- [`1.35.5`, `1.35`, `lts`, `legacylts`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.35/apache/Dockerfile)
34-
- [`1.35.5-fpm`, `1.35-fpm`, `lts-fpm`, `legacylts-fpm`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.35/fpm/Dockerfile)
35-
- [`1.35.5-fpm-alpine`, `1.35-fpm-alpine`, `lts-fpm-alpine`, `legacylts-fpm-alpine`](https://github.com/wikimedia/mediawiki-docker/blob/daebab6abd474474deb62c5544127f86dd507172/1.35/fpm-alpine/Dockerfile)
27+
- [`1.37.2`, `1.37`, `stable`, `latest`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.37/apache/Dockerfile)
28+
- [`1.37.2-fpm`, `1.37-fpm`, `stable-fpm`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.37/fpm/Dockerfile)
29+
- [`1.37.2-fpm-alpine`, `1.37-fpm-alpine`, `stable-fpm-alpine`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.37/fpm-alpine/Dockerfile)
30+
- [`1.36.4`, `1.36`, `legacy`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.36/apache/Dockerfile)
31+
- [`1.36.4-fpm`, `1.36-fpm`, `legacy-fpm`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.36/fpm/Dockerfile)
32+
- [`1.36.4-fpm-alpine`, `1.36-fpm-alpine`, `legacy-fpm-alpine`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.36/fpm-alpine/Dockerfile)
33+
- [`1.35.6`, `1.35`, `lts`, `legacylts`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.35/apache/Dockerfile)
34+
- [`1.35.6-fpm`, `1.35-fpm`, `lts-fpm`, `legacylts-fpm`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.35/fpm/Dockerfile)
35+
- [`1.35.6-fpm-alpine`, `1.35-fpm-alpine`, `lts-fpm-alpine`, `legacylts-fpm-alpine`](https://github.com/wikimedia/mediawiki-docker/blob/ce983a609daf0e23070931a55f892e3d7d0924a3/1.35/fpm-alpine/Dockerfile)
3636

3737
# Quick reference (cont.)
3838

rocket.chat/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`4.5.5`, `4.5`, `4`, `latest`](https://github.com/RocketChat/Docker.Official.Image/blob/c41ddd042ed136970020784fc8cddbc97daf13fb/4.5/Dockerfile)
27+
- [`4.6.0`, `4.6`, `4`, `latest`](https://github.com/RocketChat/Docker.Official.Image/blob/b2f2d8bc43e629a28ded5e67e3f036133f843091/4.6/Dockerfile)
28+
- [`4.5.5`, `4.5`](https://github.com/RocketChat/Docker.Official.Image/blob/c41ddd042ed136970020784fc8cddbc97daf13fb/4.5/Dockerfile)
2829
- [`4.4.2`, `4.4`](https://github.com/RocketChat/Docker.Official.Image/blob/fe575c6891e85aa2382e1d4688cb1d6aa0717645/4.4/Dockerfile)
29-
- [`4.3.3`, `4.3`](https://github.com/RocketChat/Docker.Official.Image/blob/ae53b3e00e74e77e4141c435ee8b24ab010798c0/4.3/Dockerfile)
3030
- [`3.18.5`, `3.18`, `3`](https://github.com/RocketChat/Docker.Official.Image/blob/ae53b3e00e74e77e4141c435ee8b24ab010798c0/3.18/Dockerfile)
3131

3232
# Quick reference (cont.)

sl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`7`, `latest`](https://github.com/scientificlinux/sl-docker/blob/4aa8f2672fc8ee404b1481756a91c4b4a2577ac4/sl7/Dockerfile)
27+
- [`7`, `latest`](https://github.com/scientificlinux/sl-docker/blob/9f6a570e6d5b69fec17584021ff21b08d2f0baa5/sl7/Dockerfile)
2828

2929
# Quick reference (cont.)
3030

sonarqube/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ WARNING:
2424

2525
# Supported tags and respective `Dockerfile` links
2626

27-
- [`8.9.7-community`, `8.9-community`, `8-community`, `lts`, `lts-community`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/8/community/Dockerfile)
28-
- [`8.9.7-developer`, `8.9-developer`, `8-developer`, `lts-developer`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/8/developer/Dockerfile)
29-
- [`8.9.7-enterprise`, `8.9-enterprise`, `8-enterprise`, `lts-enterprise`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/8/enterprise/Dockerfile)
30-
- [`8.9.7-datacenter-app`, `8.9-datacenter-app`, `8-datacenter-app`, `lts-datacenter-app`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/8/datacenter/app/Dockerfile)
31-
- [`8.9.7-datacenter-search`, `8.9-datacenter-search`, `8-datacenter-search`, `lts-datacenter-search`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/8/datacenter/search/Dockerfile)
32-
- [`9.3.0-community`, `9.3-community`, `9-community`, `community`, `latest`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/9/community/Dockerfile)
33-
- [`9.3.0-developer`, `9.3-developer`, `9-developer`, `developer`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/9/developer/Dockerfile)
34-
- [`9.3.0-enterprise`, `9.3-enterprise`, `9-enterprise`, `enterprise`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/9/enterprise/Dockerfile)
35-
- [`9.3.0-datacenter-app`, `9.3-datacenter-app`, `9-datacenter-app`, `datacenter-app`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/9/datacenter/app/Dockerfile)
36-
- [`9.3.0-datacenter-search`, `9.3-datacenter-search`, `9-datacenter-search`, `datacenter-search`](https://github.com/SonarSource/docker-sonarqube/blob/3f19b396006f2a8466854cae90329a55692fa073/9/datacenter/search/Dockerfile)
27+
- [`8.9.8-community`, `8.9-community`, `8-community`, `lts`, `lts-community`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/8/community/Dockerfile)
28+
- [`8.9.8-developer`, `8.9-developer`, `8-developer`, `lts-developer`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/8/developer/Dockerfile)
29+
- [`8.9.8-enterprise`, `8.9-enterprise`, `8-enterprise`, `lts-enterprise`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/8/enterprise/Dockerfile)
30+
- [`8.9.8-datacenter-app`, `8.9-datacenter-app`, `8-datacenter-app`, `lts-datacenter-app`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/8/datacenter/app/Dockerfile)
31+
- [`8.9.8-datacenter-search`, `8.9-datacenter-search`, `8-datacenter-search`, `lts-datacenter-search`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/8/datacenter/search/Dockerfile)
32+
- [`9.4.0-community`, `9.4-community`, `9-community`, `community`, `latest`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/9/community/Dockerfile)
33+
- [`9.4.0-developer`, `9.4-developer`, `9-developer`, `developer`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/9/developer/Dockerfile)
34+
- [`9.4.0-enterprise`, `9.4-enterprise`, `9-enterprise`, `enterprise`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/9/enterprise/Dockerfile)
35+
- [`9.4.0-datacenter-app`, `9.4-datacenter-app`, `9-datacenter-app`, `datacenter-app`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/9/datacenter/app/Dockerfile)
36+
- [`9.4.0-datacenter-search`, `9.4-datacenter-search`, `9-datacenter-search`, `datacenter-search`](https://github.com/SonarSource/docker-sonarqube/blob/eff0ac120a8f216d5a132f1467497eeab2a403ed/9/datacenter/search/Dockerfile)
3737

3838
# Quick reference (cont.)
3939

varnish/README.md

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,45 @@ Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as w
6464
Create a `default.vcl` file:
6565

6666
```vcl
67-
vcl 4.0;
67+
# specify the VCL syntax version to use
68+
vcl 4.1;
6869
69-
backend default {
70-
.host = "www.nytimes.com:80";
70+
# import vmod_dynamic for better backend name resolution
71+
import dynamic;
72+
73+
# we won't use any static backend, but Varnish still need a default one
74+
backend default none;
75+
76+
# set up a dynamic director
77+
# for more info, see https://github.com/nigoroll/libvmod-dynamic/blob/master/src/vmod_dynamic.vcc
78+
sub vcl_init {
79+
new d = dynamic.director(port = "80");
80+
}
81+
82+
sub vcl_recv {
83+
# force the host header to match the backend (not all backends need it,
84+
# but example.com does)
85+
set req.http.host = "example.com";
86+
# set the backend
87+
set req.backend_hint = d.backend("example.com");
7188
}
7289
```
7390

7491
Then run:
7592

7693
```console
77-
# we need both a configuration file at /etc/varnish/default.vcl
78-
# and our workdir to be mounted as tmpfs to avoid disk I/O
79-
$ docker run -v /path/to/default.vcl:/etc/varnish/default.vcl:ro --tmpfs /var/lib/varnish/varnishd:exec varnish
94+
# we need the configuration file at /etc/varnish/default.vcl,
95+
# our workdir has to be mounted as tmpfs to avoid disk I/O,
96+
# and we'll use port 8080 to talk to our container (internally listening on 80)
97+
$ docker run \
98+
-v /path/to/default.vcl:/etc/varnish/default.vcl:ro \
99+
--tmpfs /var/lib/varnish/varnishd:exec \
100+
-p 8080:80 \
101+
varnish
80102
```
81103

104+
From there, you can visit `localhost:8080` in your browser and see the example.com homepage.
105+
82106
Alternatively, a simple `Dockerfile` can be used to generate a new image that includes the necessary `default.vcl` (which is a much cleaner solution than the bind mount above):
83107

84108
```dockerfile
@@ -90,7 +114,7 @@ COPY default.vcl /etc/varnish/
90114
Place this file in the same directory as your `default.vcl`, run `docker build -t my-varnish .`, then start your container:
91115

92116
```console
93-
$ docker --tmpfs /var/lib/varnish/varnishd:exec my-varnish
117+
$ docker --tmpfs /var/lib/varnish/varnishd:exec -p 8080:80 my-varnish
94118
```
95119

96120
## Reloading the configuration
@@ -115,14 +139,14 @@ docker run varnish varnishreload -h
115139
By default, the containers will use a cache size of 100MB, which is usually a bit too small, but you can quickly set it through the `VARNISH_SIZE` environment variable:
116140

117141
```console
118-
$ docker run --tmpfs /var/lib/varnish/varnishd:exec -e VARNISH_SIZE=2G varnish
142+
$ docker run --tmpfs /var/lib/varnish/varnishd:exec -p 8080:80 -e VARNISH_SIZE=2G varnish
119143
```
120144

121145
Additionally, you can add arguments to `docker run` after `varnish`, if the first one starts with a `-`, they will be appendend to the [default command](https://github.com/varnish/docker-varnish/blob/master/docker-varnish-entrypoint#L8):
122146

123147
```console
124148
# extend the default keep period
125-
$ docker run --tmpfs /var/lib/varnish/varnishd:exec -e VARNISH_SIZE=2G varnish -p default_keep=300
149+
$ docker run --tmpfs /var/lib/varnish/varnishd:exec -p 8080:80 -e VARNISH_SIZE=2G varnish -p default_keep=300
126150
```
127151

128152
If your first argument after `varnish` doesn't start with `-`, it will be interpreted as a command to override the default one:
@@ -135,16 +159,12 @@ $ docker run varnish varnishd -?
135159
$ docker run varnish varnishd -x parameter
136160

137161
# run the server with your own parameters (don't forget -F to not daemonize)
138-
$ docker run varnish varnishd -a :8080 -b 127.0.0.1:8181 -t 600 -p feature=+http2
162+
$ docker run varnish varnishd -F -a :8080 -b 127.0.0.1:8181 -t 600 -p feature=+http2
139163
```
140164

141-
## Exposing the port
142-
143-
```console
144-
$ docker run --name my-running-varnish --tmpfs /var/lib/varnish/varnishd:exec -d -p 8080:80 my-varnish
145-
```
165+
## vmods (since 7.1)
146166

147-
Then you can hit `http://localhost:8080` or `http://host-ip:8080` in your browser.
167+
As mentioned above, you can use [vmod_dynamic](https://github.com/nigoroll/libvmod-dynamic) for backend resolution. The [varnish-modules](https://github.com/varnish/varnish-modules) collection is also included in the image. All the documentation regarding usage and syntax can be found in the [src/](https://github.com/varnish/varnish-modules/tree/master/src) directory of the repository.
148168

149169
# Image Variants
150170

0 commit comments

Comments
 (0)