https://github.com/appwrite/docker-base
Appwrite base image
https://github.com/appwrite/docker-base
Last synced: 5 months ago
JSON representation
Appwrite base image
- Host: GitHub
- URL: https://github.com/appwrite/docker-base
- Owner: appwrite
- License: mit
- Created: 2023-02-11T23:50:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T11:49:47.000Z (5 months ago)
- Last Synced: 2025-01-31T18:45:39.405Z (5 months ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/appwrite/base
- Size: 69.3 KB
- Stars: 20
- Watchers: 11
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Base
[](https://appwrite.io/discord)
[](https://hub.docker.com/r/appwrite/base)
[](https://travis-ci.com/appwrite/docker-base)
[](https://twitter.com/appwrite)
[](https://stackshare.io/appwrite)[Appwrite](https://appwrite.io) base docker image with applications and extensions built and installed.
## Getting Started
These instructions will cover usage information to help your run Appwrite's base docker container.
### Prerequisites
In order to run this container you'll need docker installed.
* [Windows](https://docs.docker.com/windows/started)
* [OS X](https://docs.docker.com/mac/started/)
* [Linux](https://docs.docker.com/linux/started/)### Usage
```shell
docker run appwrite/base
```### Testing
We use [Container Structure Test](https://github.com/GoogleContainerTools/container-structure-test) to run test for the docker image. In order to run test first install Container strucutre test using the following command.
```bash
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64 && chmod +x container-structure-test-linux-amd64 && sudo mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test
```### Run Test
First build and tag the docker image and then run the test using the configuration file.
```bash
docker build -t appwrite-base-test .
container-structure-test test --config tests.yaml --image appwrite-base-test
```### Build
```bash
docker build --tag appwrite/base:1.0.0 .docker push appwrite/base:1.0.0
```Multi-arch build (using [buildx](https://github.com/docker/buildx)):
```
docker buildx build --platform linux/amd64,linux/arm64/v8,linux/ppc64le --tag appwrite/base:1.0.0 --push .
```## Find Us
* [GitHub](https://github.com/appwrite)
* [Discord](https://appwrite.io/discord)
* [Twitter](https://twitter.com/appwrite)## Copyright and license
The MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)