Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tecnickcom/alldev
Dockerfile to build a generic development environment based on Ubuntu Linux
https://github.com/tecnickcom/alldev
agent container development docker elastic environment gocd
Last synced: 3 months ago
JSON representation
Dockerfile to build a generic development environment based on Ubuntu Linux
- Host: GitHub
- URL: https://github.com/tecnickcom/alldev
- Owner: tecnickcom
- License: mit
- Created: 2016-09-23T20:01:22.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T16:49:38.000Z (10 months ago)
- Last Synced: 2024-04-03T18:02:13.748Z (10 months ago)
- Topics: agent, container, development, docker, elastic, environment, gocd
- Language: Dockerfile
- Size: 297 KB
- Stars: 45
- Watchers: 5
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# alldev
*Dockerfile to build a generic development environment based on Ubuntu Linux*
[![Donate via PayPal](https://img.shields.io/badge/donate-paypal-87ceeb.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&[email protected]&item_name=donation%20for%20alldev%20project)
*Please consider supporting this project by making a donation via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&[email protected]&item_name=donation%20for%20alldev%20project)** **category** Docker
* **author** Nicola Asuni
* **copyright** 2016-2024 Nicola Asuni - Tecnick.com LTD
* **license** MIT (see LICENSE)
* **link** https://github.com/tecnickcom/alldev
* **docker** https://hub.docker.com/r/tecnickcom/alldev/## Description
Source configuration files to build Docker images with different development environment.
The generated Docker images are available at https://hub.docker.com/r/tecnickcom/
## Requirements
This script requires Docker (https://www.docker.com/).
To install Docker in a debian or Ubuntu OS:
```
sudo apt-get install docker docker.io
```
Add your user to the "docker" group:
```
sudo groupadd docker
sudo gpasswd -a docker
sudo service docker restart
```## Getting started
This project include a Makefile that allows you to automate common operations.
To see all available options:
```
make help
```
To build an image:
```
make build DIMG=
```## Useful Docker commands
To log into the newly created container:
```
docker run -t -i tecnickcom/alldev /bin/bash
```To get the container ID:
```
CONTAINER_ID=`docker ps -a | grep tecnickcom/alldev | cut -c1-12`
```To delete the newly created docker container:
```
docker rm -f $CONTAINER_ID
```To delete the docker image:
```
docker rmi -f tecnickcom/alldev
```To delete all containers
```
docker rm -f $(docker ps -a -q)
```To delete all images
```
docker rmi -f $(docker images -q)
```## Docker-in-Docker (DooD, dind)
To run Docker in docker in with the provided gocd-agent images,
the docker socket must be mounted:
```
/var/run/docker.sock:/var/run/docker.sock
```
and the container must run in privileged mode.## Developer(s) Contact
* Nicola Asuni