Run update.sh

This commit is contained in:
Docker Library Bot 2024-02-21 11:20:38 -08:00
parent 4e47f1a642
commit cb3b26f7eb
3 changed files with 32 additions and 27 deletions

View File

@ -104,7 +104,7 @@ Go (a.k.a., Golang) is a programming language first developed at Google. It is a
The most straightforward way to use this image is to use a Go container as both the build and runtime environment. In your `Dockerfile`, writing something along the lines of the following will compile and run your project (assuming it uses `go.mod` for dependency management):
```dockerfile
FROM golang:1.21
FROM golang:1.22
WORKDIR /usr/src/app
@ -130,13 +130,13 @@ $ docker run -it --rm --name my-running-app my-golang-app
There may be occasions where it is not appropriate to run your app inside a container. To compile, but not run your app inside the Docker instance, you can write something like:
```console
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.21 go build -v
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.22 go build -v
```
This will add your current directory as a volume to the container, set the working directory to the volume, and run the command `go build` which will tell go to compile the project in the working directory and output the executable to `myapp`. Alternatively, if you have a `Makefile`, you can run the `make` command inside your container.
```console
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.21 make
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.22 make
```
## Cross-compile your app inside the Docker container
@ -144,13 +144,13 @@ $ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.21 make
If you need to compile your application for a platform other than `linux/amd64` (such as `windows/386`):
```console
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e GOOS=windows -e GOARCH=386 golang:1.21 go build -v
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e GOOS=windows -e GOARCH=386 golang:1.22 go build -v
```
Alternatively, you can build for multiple platforms at once:
```console
$ docker run --rm -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.21 bash
$ docker run --rm -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.22 bash
$ for GOOS in darwin linux; do
> for GOARCH in 386 amd64; do
> export GOOS GOARCH

View File

@ -24,27 +24,27 @@ WARNING:
# Supported tags and respective `Dockerfile` links
- [`5.1.0-alpha3-php8.1-apache`, `5.1-php8.1-apache`, `5.1.alpha-php8.1-apache`, `5.1.0-alpha-php8.1-apache`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.1/apache/Dockerfile)
- [`5.1.0-alpha3-php8.1-fpm-alpine`, `5.1-php8.1-fpm-alpine`, `5.1.alpha-php8.1-fpm-alpine`, `5.1.0-alpha-php8.1-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.1/fpm-alpine/Dockerfile)
- [`5.1.0-alpha3-php8.1-fpm`, `5.1-php8.1-fpm`, `5.1.alpha-php8.1-fpm`, `5.1.0-alpha-php8.1-fpm`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.1/fpm/Dockerfile)
- [`5.1.0-alpha3`, `5.1`, `5.1.alpha`, `5.1.0-alpha`, `5.1.0-alpha3-apache`, `5.1-apache`, `5.1.alpha-apache`, `5.1.0-alpha-apache`, `5.1.0-alpha3-php8.2`, `5.1-php8.2`, `5.1.alpha-php8.2`, `5.1.0-alpha-php8.2`, `5.1.0-alpha3-php8.2-apache`, `5.1-php8.2-apache`, `5.1.alpha-php8.2-apache`, `5.1.0-alpha-php8.2-apache`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.2/apache/Dockerfile)
- [`5.1.0-alpha3-php8.2-fpm-alpine`, `5.1-php8.2-fpm-alpine`, `5.1.alpha-php8.2-fpm-alpine`, `5.1.0-alpha-php8.2-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.2/fpm-alpine/Dockerfile)
- [`5.1.0-alpha3-php8.2-fpm`, `5.1-php8.2-fpm`, `5.1.alpha-php8.2-fpm`, `5.1.0-alpha-php8.2-fpm`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.2/fpm/Dockerfile)
- [`5.1.0-alpha3-php8.3-apache`, `5.1-php8.3-apache`, `5.1.alpha-php8.3-apache`, `5.1.0-alpha-php8.3-apache`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.3/apache/Dockerfile)
- [`5.1.0-alpha3-php8.3-fpm-alpine`, `5.1-php8.3-fpm-alpine`, `5.1.alpha-php8.3-fpm-alpine`, `5.1.0-alpha-php8.3-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.3/fpm-alpine/Dockerfile)
- [`5.1.0-alpha3-php8.3-fpm`, `5.1-php8.3-fpm`, `5.1.alpha-php8.3-fpm`, `5.1.0-alpha-php8.3-fpm`](https://github.com/joomla-docker/docker-joomla/blob/6432995076a6ae520ebaed5e1cdf737c522cd3fb/5.1.alpha/php8.3/fpm/Dockerfile)
- [`5.0.2-php8.1-apache`, `5.0-php8.1-apache`, `5-php8.1-apache`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/5.0/php8.1/apache/Dockerfile)
- [`5.0.2-php8.1-fpm-alpine`, `5.0-php8.1-fpm-alpine`, `5-php8.1-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/ed91ffe73eb0d47340f13345b9143fa2a1bed62a/5.0/php8.1/fpm-alpine/Dockerfile)
- [`5.0.2-php8.1-fpm`, `5.0-php8.1-fpm`, `5-php8.1-fpm`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/5.0/php8.1/fpm/Dockerfile)
- [`5.0.2`, `5.0`, `5`, `5.0.2-apache`, `5.0-apache`, `5-apache`, `5.0.2-php8.2`, `5.0-php8.2`, `5-php8.2`, `5.0.2-php8.2-apache`, `5.0-php8.2-apache`, `5-php8.2-apache`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/5.0/php8.2/apache/Dockerfile)
- [`5.0.2-php8.2-fpm-alpine`, `5.0-php8.2-fpm-alpine`, `5-php8.2-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/ed91ffe73eb0d47340f13345b9143fa2a1bed62a/5.0/php8.2/fpm-alpine/Dockerfile)
- [`5.0.2-php8.2-fpm`, `5.0-php8.2-fpm`, `5-php8.2-fpm`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/5.0/php8.2/fpm/Dockerfile)
- [`4.4.2`, `4.4`, `4`, `latest`, `4.4.2-apache`, `4.4-apache`, `4-apache`, `apache`, `4.4.2-php8.1`, `4.4-php8.1`, `4-php8.1`, `php8.1`, `4.4.2-php8.1-apache`, `4.4-php8.1-apache`, `4-php8.1-apache`, `php8.1-apache`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/4.4/php8.1/apache/Dockerfile)
- [`4.4.2-php8.1-fpm-alpine`, `4.4-php8.1-fpm-alpine`, `4-php8.1-fpm-alpine`, `php8.1-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/ed91ffe73eb0d47340f13345b9143fa2a1bed62a/4.4/php8.1/fpm-alpine/Dockerfile)
- [`4.4.2-php8.1-fpm`, `4.4-php8.1-fpm`, `4-php8.1-fpm`, `php8.1-fpm`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/4.4/php8.1/fpm/Dockerfile)
- [`4.4.2-php8.2-apache`, `4.4-php8.2-apache`, `4-php8.2-apache`, `php8.2-apache`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/4.4/php8.2/apache/Dockerfile)
- [`4.4.2-php8.2-fpm-alpine`, `4.4-php8.2-fpm-alpine`, `4-php8.2-fpm-alpine`, `php8.2-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/ed91ffe73eb0d47340f13345b9143fa2a1bed62a/4.4/php8.2/fpm-alpine/Dockerfile)
- [`4.4.2-php8.2-fpm`, `4.4-php8.2-fpm`, `4-php8.2-fpm`, `php8.2-fpm`](https://github.com/joomla-docker/docker-joomla/blob/c9cc3661ef0064e4b2242360ecce780ffc825daa/4.4/php8.2/fpm/Dockerfile)
- [`5.1.0-alpha4-php8.1-apache`, `5.1-php8.1-apache`, `5.1.alpha-php8.1-apache`, `5.1.0-alpha-php8.1-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.1/apache/Dockerfile)
- [`5.1.0-alpha4-php8.1-fpm-alpine`, `5.1-php8.1-fpm-alpine`, `5.1.alpha-php8.1-fpm-alpine`, `5.1.0-alpha-php8.1-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.1/fpm-alpine/Dockerfile)
- [`5.1.0-alpha4-php8.1-fpm`, `5.1-php8.1-fpm`, `5.1.alpha-php8.1-fpm`, `5.1.0-alpha-php8.1-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.1/fpm/Dockerfile)
- [`5.1.0-alpha4`, `5.1`, `5.1.alpha`, `5.1.0-alpha`, `5.1.0-alpha4-apache`, `5.1-apache`, `5.1.alpha-apache`, `5.1.0-alpha-apache`, `5.1.0-alpha4-php8.2`, `5.1-php8.2`, `5.1.alpha-php8.2`, `5.1.0-alpha-php8.2`, `5.1.0-alpha4-php8.2-apache`, `5.1-php8.2-apache`, `5.1.alpha-php8.2-apache`, `5.1.0-alpha-php8.2-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.2/apache/Dockerfile)
- [`5.1.0-alpha4-php8.2-fpm-alpine`, `5.1-php8.2-fpm-alpine`, `5.1.alpha-php8.2-fpm-alpine`, `5.1.0-alpha-php8.2-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.2/fpm-alpine/Dockerfile)
- [`5.1.0-alpha4-php8.2-fpm`, `5.1-php8.2-fpm`, `5.1.alpha-php8.2-fpm`, `5.1.0-alpha-php8.2-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.2/fpm/Dockerfile)
- [`5.1.0-alpha4-php8.3-apache`, `5.1-php8.3-apache`, `5.1.alpha-php8.3-apache`, `5.1.0-alpha-php8.3-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.3/apache/Dockerfile)
- [`5.1.0-alpha4-php8.3-fpm-alpine`, `5.1-php8.3-fpm-alpine`, `5.1.alpha-php8.3-fpm-alpine`, `5.1.0-alpha-php8.3-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.3/fpm-alpine/Dockerfile)
- [`5.1.0-alpha4-php8.3-fpm`, `5.1-php8.3-fpm`, `5.1.alpha-php8.3-fpm`, `5.1.0-alpha-php8.3-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.1.alpha/php8.3/fpm/Dockerfile)
- [`5.0.3-php8.1-apache`, `5.0-php8.1-apache`, `5-php8.1-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.0/php8.1/apache/Dockerfile)
- [`5.0.3-php8.1-fpm-alpine`, `5.0-php8.1-fpm-alpine`, `5-php8.1-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.0/php8.1/fpm-alpine/Dockerfile)
- [`5.0.3-php8.1-fpm`, `5.0-php8.1-fpm`, `5-php8.1-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.0/php8.1/fpm/Dockerfile)
- [`5.0.3`, `5.0`, `5`, `5.0.3-apache`, `5.0-apache`, `5-apache`, `5.0.3-php8.2`, `5.0-php8.2`, `5-php8.2`, `5.0.3-php8.2-apache`, `5.0-php8.2-apache`, `5-php8.2-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.0/php8.2/apache/Dockerfile)
- [`5.0.3-php8.2-fpm-alpine`, `5.0-php8.2-fpm-alpine`, `5-php8.2-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.0/php8.2/fpm-alpine/Dockerfile)
- [`5.0.3-php8.2-fpm`, `5.0-php8.2-fpm`, `5-php8.2-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/5.0/php8.2/fpm/Dockerfile)
- [`4.4.3`, `4.4`, `4`, `latest`, `4.4.3-apache`, `4.4-apache`, `4-apache`, `apache`, `4.4.3-php8.1`, `4.4-php8.1`, `4-php8.1`, `php8.1`, `4.4.3-php8.1-apache`, `4.4-php8.1-apache`, `4-php8.1-apache`, `php8.1-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/4.4/php8.1/apache/Dockerfile)
- [`4.4.3-php8.1-fpm-alpine`, `4.4-php8.1-fpm-alpine`, `4-php8.1-fpm-alpine`, `php8.1-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/4.4/php8.1/fpm-alpine/Dockerfile)
- [`4.4.3-php8.1-fpm`, `4.4-php8.1-fpm`, `4-php8.1-fpm`, `php8.1-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/4.4/php8.1/fpm/Dockerfile)
- [`4.4.3-php8.2-apache`, `4.4-php8.2-apache`, `4-php8.2-apache`, `php8.2-apache`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/4.4/php8.2/apache/Dockerfile)
- [`4.4.3-php8.2-fpm-alpine`, `4.4-php8.2-fpm-alpine`, `4-php8.2-fpm-alpine`, `php8.2-fpm-alpine`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/4.4/php8.2/fpm-alpine/Dockerfile)
- [`4.4.3-php8.2-fpm`, `4.4-php8.2-fpm`, `4-php8.2-fpm`, `php8.2-fpm`](https://github.com/joomla-docker/docker-joomla/blob/667ef17a8fdf0fe6c67cae2aff095a7e803687a0/4.4/php8.2/fpm/Dockerfile)
# Quick reference (cont.)

View File

@ -199,7 +199,12 @@ This tag is based off of [`buildpack-deps`](https://hub.docker.com/_/buildpack-d
## `python:<version>-slim`
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run `python`. Unless you are working in an environment where *only* the `python` image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
This image does not contain the common Debian packages contained in the default tag and only contains the minimal Debian packages needed to run `python`. Unless you are working in an environment where *only* the `python` image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
When using this image `pip install` will work if a suitable built distribution is available for the Python distribution package being installed. `pip install` may fail when installing a Python distribution package from a source distribution. This image does not contain the Debian packages required to compile extension modules written in other languages. Possible solutions if a `pip install` fails include:
- Use this image and install any required Debian packages before running `pip install`.
- Use the default image of this repository. The default image contains the most commonly required Debian packages. The majority of arbitrary `pip install`s should be successful without additional header/development Debian packages.
## `python:<version>-alpine`