https://github.com/indigomultimediateam/.docker_apps
Cordova/Capacitor docker files
https://github.com/indigomultimediateam/.docker_apps
Last synced: 3 months ago
JSON representation
Cordova/Capacitor docker files
- Host: GitHub
- URL: https://github.com/indigomultimediateam/.docker_apps
- Owner: IndigoMultimediaTeam
- License: mit
- Created: 2023-03-03T11:22:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T12:56:22.000Z (over 3 years ago)
- Last Synced: 2025-03-02T02:32:45.119Z (over 1 year ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/IndigoMultimediaTeam/lts-driven-git-submodules)
# Docker containers for cordova/capacitor application development
[Czech version](./README_cs-CZ.md).
## Quick navigation
- [I want to add to a new/existing app](#add-to-repository)
- [What I need to use](#requirements)
## Usage
According to the selected tools [docker/podman](#requirements) and capacitor/cordova:
### First initialization
```bash
docker-compose build capacitor --no-cache
docker-compose build cordova --no-cache
podman-compose build capacitor --no-cache
podman-compose build cordova --no-cache
```
### Entry into container
```bash
docker-compose run --rm capacitor bash
docker-compose run --rm cordova bash
podman-compose run --rm capacitor bash
podman-compose run --rm cordova bash
```
…inside the container:
```bash
npx cap …
npx cordova …
```
## Add to repository
It can be done using git submodules:
```bash
git submodule add git@github.com:IndigoMultimediaTeam/.docker_apps.git
```
You can learn how to work with submodules from the documentation [Git - Submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) or
using the [`git submodule`](https://gist.github.com/jaandrle/b4836d72b63a3eefc6126d94c683e5b3) tutorial.
Then just select the desired `*.yml`:
```bash
cp ./.docker_apps/dapper_drake.compose.yaml ./compose.yaml
```
...and modify it as required.
## Requirements
Containers are compatible with:
- [Docker: Accelerated, Containerized Application Development](https://www.docker.com/)
- [Podman - What is Podman?](https://docs.podman.io/en/latest/)
...installation procedure, see:
## Docker
- Ubuntu: `sudo apt install docker docker-compose`
- Mac/Windows: [Docker Desktop](https://docs.docker.com/desktop/)
- Mac/Widows alternatively (on your own):
- `docker`:
- [How To Install Docker Without Docker Desktop On Windows | by Paul Knulst | Better Programming](https://betterprogramming.pub/how-to-install-docker-without-docker-desktop-on-windows-a2bbb65638a1)
- [Docker for Mac: Homebrew Step-by-Step Tutorial | Cprime](https://www.cprime.com/resources/blog/docker-for-mac-with-homebrew-a-step-by-step-tutorial/)
- `docker-compose`: ?
- [Docker Desktop](https://docs.docker.com/desktop/)
## Podman
- [Podman Installation](https://podman.io/getting-started/installation)
- [containers/podman-compose](https://github.com/containers/podman-compose)