Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ambroisemaupate/docker
My docker images
https://github.com/ambroisemaupate/docker
Last synced: about 2 months ago
JSON representation
My docker images
- Host: GitHub
- URL: https://github.com/ambroisemaupate/docker
- Owner: ambroisemaupate
- License: mit
- Created: 2015-04-20T21:22:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T17:33:57.000Z (about 2 months ago)
- Last Synced: 2024-11-14T18:29:05.352Z (about 2 months ago)
- Language: Dockerfile
- Size: 350 KB
- Stars: 21
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker custom images
[![Build Status](https://travis-ci.org/ambroisemaupate/docker.svg?branch=master)](https://travis-ci.org/ambroisemaupate/docker)
This is a personal collection of *Docker* tools and images.
*debian*, *data*, *mariadb*, *nginx* and *nginx-php* are based on [Maxexcloo work](https://github.com/maxexcloo/Docker).
## Multi-arch builds
If your development workstation uses *ARM64* platform, you need to build Roadiz base images for this CPU architecture.
Check if official images are providing these architectures: https://hub.docker.com/repository/docker/roadiz/php74-nginx-alpine/tags then if your *OS/ARCH* is not available you’ll need to build it. Notice that using *BuildX* with *QEMU* may take several minutes depending on your machine.
- Run [virtualization layer](https://github.com/docker/buildx#building-multi-platform-images)
```
docker run --privileged --rm tonistiigi/binfmt --install all
```
- Create a [BuildX](https://github.com/docker/buildx#building-with-buildx) environment
```
docker buildx create --name mybuildx
docker buildx ls
```
- Use your new environment
```
docker buildx use mybuildx
```
- Build and push docker image for AMD64 and ARM64
```
# Login to hub.docker.com registry
docker login
# use buildx to build and push multiple platforms
docker buildx build \
--push \
--platform linux/arm64/v8,linux/amd64 --tag roadiz/php80-nginx-alpine:latest .
```