Run update.sh
This commit is contained in:
parent
11aadb51f9
commit
2a5aff1ec6
|
|
@ -24,12 +24,12 @@ WARNING:
|
|||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`2021.04-apache`, `2021.04`](https://github.com/friendica/docker/blob/ffd8358b2101d60ba7d6a00770c7819e0b58f4f2/2021.04/apache/Dockerfile)
|
||||
- [`2021.04-fpm`](https://github.com/friendica/docker/blob/ffd8358b2101d60ba7d6a00770c7819e0b58f4f2/2021.04/fpm/Dockerfile)
|
||||
- [`2021.04-fpm-alpine`](https://github.com/friendica/docker/blob/ffd8358b2101d60ba7d6a00770c7819e0b58f4f2/2021.04/fpm-alpine/Dockerfile)
|
||||
- [`2021.07-apache`, `apache`, `stable-apache`, `2021.07`, `latest`, `stable`](https://github.com/friendica/docker/blob/ffd8358b2101d60ba7d6a00770c7819e0b58f4f2/2021.07/apache/Dockerfile)
|
||||
- [`2021.07-fpm`, `fpm`, `stable-fpm`](https://github.com/friendica/docker/blob/ffd8358b2101d60ba7d6a00770c7819e0b58f4f2/2021.07/fpm/Dockerfile)
|
||||
- [`2021.07-fpm-alpine`, `fpm-alpine`, `stable-fpm-alpine`](https://github.com/friendica/docker/blob/ffd8358b2101d60ba7d6a00770c7819e0b58f4f2/2021.07/fpm-alpine/Dockerfile)
|
||||
- [`2021.04-apache`, `2021.04`](https://github.com/friendica/docker/blob/2f1d0cb76982edd467590c144e78fc2cd173cf9d/2021.04/apache/Dockerfile)
|
||||
- [`2021.04-fpm`](https://github.com/friendica/docker/blob/2f1d0cb76982edd467590c144e78fc2cd173cf9d/2021.04/fpm/Dockerfile)
|
||||
- [`2021.04-fpm-alpine`](https://github.com/friendica/docker/blob/2f1d0cb76982edd467590c144e78fc2cd173cf9d/2021.04/fpm-alpine/Dockerfile)
|
||||
- [`2021.07-apache`, `apache`, `stable-apache`, `2021.07`, `latest`, `stable`](https://github.com/friendica/docker/blob/2f1d0cb76982edd467590c144e78fc2cd173cf9d/2021.07/apache/Dockerfile)
|
||||
- [`2021.07-fpm`, `fpm`, `stable-fpm`](https://github.com/friendica/docker/blob/2f1d0cb76982edd467590c144e78fc2cd173cf9d/2021.07/fpm/Dockerfile)
|
||||
- [`2021.07-fpm-alpine`, `fpm-alpine`, `stable-fpm-alpine`](https://github.com/friendica/docker/blob/2f1d0cb76982edd467590c144e78fc2cd173cf9d/2021.07/fpm-alpine/Dockerfile)
|
||||
- [`2021.09-dev-apache`, `dev-apache`, `2021.09-dev`, `dev`](https://github.com/friendica/docker/blob/ee990e483762774a241673b91bab9860914a7214/2021.09-dev/apache/Dockerfile)
|
||||
- [`2021.09-dev-fpm`, `dev-fpm`](https://github.com/friendica/docker/blob/ee990e483762774a241673b91bab9860914a7214/2021.09-dev/fpm/Dockerfile)
|
||||
- [`2021.09-dev-fpm-alpine`, `dev-fpm-alpine`](https://github.com/friendica/docker/blob/ee990e483762774a241673b91bab9860914a7214/2021.09-dev/fpm-alpine/Dockerfile)
|
||||
|
|
|
|||
|
|
@ -112,7 +112,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:
|
||||
|
||||
```dockerfile
|
||||
FROM golang:1.16
|
||||
FROM golang:1.17
|
||||
|
||||
WORKDIR /go/src/app
|
||||
COPY . .
|
||||
|
|
@ -135,13 +135,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.16 go build -v
|
||||
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.17 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.16 make
|
||||
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.17 make
|
||||
```
|
||||
|
||||
## Cross-compile your app inside the Docker container
|
||||
|
|
@ -149,13 +149,13 @@ $ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.16 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.16 go build -v
|
||||
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e GOOS=windows -e GOARCH=386 golang:1.17 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.16 bash
|
||||
$ docker run --rm -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.17 bash
|
||||
$ for GOOS in darwin linux; do
|
||||
> for GOARCH in 386 amd64; do
|
||||
> export GOOS GOARCH
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@ WARNING:
|
|||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`1.21.1`, `mainline`, `1`, `1.21`, `latest`](https://github.com/nginxinc/docker-nginx/blob/f958fbacada447737319e979db45a1da49123142/mainline/debian/Dockerfile)
|
||||
- [`1.21.1-perl`, `mainline-perl`, `1-perl`, `1.21-perl`, `perl`](https://github.com/nginxinc/docker-nginx/blob/f958fbacada447737319e979db45a1da49123142/mainline/debian-perl/Dockerfile)
|
||||
- [`1.21.1-alpine`, `mainline-alpine`, `1-alpine`, `1.21-alpine`, `alpine`](https://github.com/nginxinc/docker-nginx/blob/f958fbacada447737319e979db45a1da49123142/mainline/alpine/Dockerfile)
|
||||
- [`1.21.1-alpine-perl`, `mainline-alpine-perl`, `1-alpine-perl`, `1.21-alpine-perl`, `alpine-perl`](https://github.com/nginxinc/docker-nginx/blob/f958fbacada447737319e979db45a1da49123142/mainline/alpine-perl/Dockerfile)
|
||||
- [`1.21.3`, `mainline`, `1`, `1.21`, `latest`](https://github.com/nginxinc/docker-nginx/blob/d496baf859613adfe391ca8e7615cc7ec7966621/mainline/debian/Dockerfile)
|
||||
- [`1.21.3-perl`, `mainline-perl`, `1-perl`, `1.21-perl`, `perl`](https://github.com/nginxinc/docker-nginx/blob/d496baf859613adfe391ca8e7615cc7ec7966621/mainline/debian-perl/Dockerfile)
|
||||
- [`1.21.3-alpine`, `mainline-alpine`, `1-alpine`, `1.21-alpine`, `alpine`](https://github.com/nginxinc/docker-nginx/blob/d496baf859613adfe391ca8e7615cc7ec7966621/mainline/alpine/Dockerfile)
|
||||
- [`1.21.3-alpine-perl`, `mainline-alpine-perl`, `1-alpine-perl`, `1.21-alpine-perl`, `alpine-perl`](https://github.com/nginxinc/docker-nginx/blob/d496baf859613adfe391ca8e7615cc7ec7966621/mainline/alpine-perl/Dockerfile)
|
||||
- [`1.20.1`, `stable`, `1.20`](https://github.com/nginxinc/docker-nginx/blob/f3fe494531f9b157d9c09ba509e412dace54cd4f/stable/debian/Dockerfile)
|
||||
- [`1.20.1-perl`, `stable-perl`, `1.20-perl`](https://github.com/nginxinc/docker-nginx/blob/f3fe494531f9b157d9c09ba509e412dace54cd4f/stable/debian-perl/Dockerfile)
|
||||
- [`1.20.1-alpine`, `stable-alpine`, `1.20-alpine`](https://github.com/nginxinc/docker-nginx/blob/f3fe494531f9b157d9c09ba509e412dace54cd4f/stable/alpine/Dockerfile)
|
||||
|
|
|
|||
|
|
@ -24,12 +24,12 @@ WARNING:
|
|||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`1-buster`, `1.54-buster`, `1.54.0-buster`, `buster`, `1`, `1.54`, `1.54.0`, `latest`](https://github.com/rust-lang-nursery/docker-rust/blob/21171fdd92e29acb045a41cd58b0d30d66aeaa7f/1.54.0/buster/Dockerfile)
|
||||
- [`1-slim-buster`, `1.54-slim-buster`, `1.54.0-slim-buster`, `slim-buster`, `1-slim`, `1.54-slim`, `1.54.0-slim`, `slim`](https://github.com/rust-lang-nursery/docker-rust/blob/21171fdd92e29acb045a41cd58b0d30d66aeaa7f/1.54.0/buster/slim/Dockerfile)
|
||||
- [`1-bullseye`, `1.54-bullseye`, `1.54.0-bullseye`, `bullseye`](https://github.com/rust-lang-nursery/docker-rust/blob/21171fdd92e29acb045a41cd58b0d30d66aeaa7f/1.54.0/bullseye/Dockerfile)
|
||||
- [`1-slim-bullseye`, `1.54-slim-bullseye`, `1.54.0-slim-bullseye`, `slim-bullseye`](https://github.com/rust-lang-nursery/docker-rust/blob/21171fdd92e29acb045a41cd58b0d30d66aeaa7f/1.54.0/bullseye/slim/Dockerfile)
|
||||
- [`1-alpine3.13`, `1.54-alpine3.13`, `1.54.0-alpine3.13`, `alpine3.13`](https://github.com/rust-lang-nursery/docker-rust/blob/21171fdd92e29acb045a41cd58b0d30d66aeaa7f/1.54.0/alpine3.13/Dockerfile)
|
||||
- [`1-alpine3.14`, `1.54-alpine3.14`, `1.54.0-alpine3.14`, `alpine3.14`, `1-alpine`, `1.54-alpine`, `1.54.0-alpine`, `alpine`](https://github.com/rust-lang-nursery/docker-rust/blob/21171fdd92e29acb045a41cd58b0d30d66aeaa7f/1.54.0/alpine3.14/Dockerfile)
|
||||
- [`1-buster`, `1.55-buster`, `1.55.0-buster`, `buster`](https://github.com/rust-lang-nursery/docker-rust/blob/878a3bd2f3d92e51b9984dba8f8fd8881367a063/1.55.0/buster/Dockerfile)
|
||||
- [`1-slim-buster`, `1.55-slim-buster`, `1.55.0-slim-buster`, `slim-buster`](https://github.com/rust-lang-nursery/docker-rust/blob/878a3bd2f3d92e51b9984dba8f8fd8881367a063/1.55.0/buster/slim/Dockerfile)
|
||||
- [`1-bullseye`, `1.55-bullseye`, `1.55.0-bullseye`, `bullseye`, `1`, `1.55`, `1.55.0`, `latest`](https://github.com/rust-lang-nursery/docker-rust/blob/878a3bd2f3d92e51b9984dba8f8fd8881367a063/1.55.0/bullseye/Dockerfile)
|
||||
- [`1-slim-bullseye`, `1.55-slim-bullseye`, `1.55.0-slim-bullseye`, `slim-bullseye`, `1-slim`, `1.55-slim`, `1.55.0-slim`, `slim`](https://github.com/rust-lang-nursery/docker-rust/blob/878a3bd2f3d92e51b9984dba8f8fd8881367a063/1.55.0/bullseye/slim/Dockerfile)
|
||||
- [`1-alpine3.13`, `1.55-alpine3.13`, `1.55.0-alpine3.13`, `alpine3.13`](https://github.com/rust-lang-nursery/docker-rust/blob/878a3bd2f3d92e51b9984dba8f8fd8881367a063/1.55.0/alpine3.13/Dockerfile)
|
||||
- [`1-alpine3.14`, `1.55-alpine3.14`, `1.55.0-alpine3.14`, `alpine3.14`, `1-alpine`, `1.55-alpine`, `1.55.0-alpine`, `alpine`](https://github.com/rust-lang-nursery/docker-rust/blob/878a3bd2f3d92e51b9984dba8f8fd8881367a063/1.55.0/alpine3.14/Dockerfile)
|
||||
|
||||
# Quick reference (cont.)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue