Dockerfile to build a generic development environment based on Ubuntu Linux
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update HUgo and gocd version Oct 29, 2018
.gitignore Remove squash Feb 23, 2017
LICENSE Squash images and add packages Jan 26, 2018
Makefile Remove experimanta squash function Oct 14, 2018
README.md Squash images and add packages Jan 26, 2018
RELEASE first commit Sep 23, 2016
VERSION Update HUgo and gocd version Oct 29, 2018

README.md

alldev

Dockerfile to build a generic development environment based on Ubuntu Linux

Donate via PayPal Please consider supporting this project by making a donation via PayPal

Description

Source configuration file to build a Docker container image with a generic development environment.

The generated Docker image, available at https://hub.docker.com/r/tecnickcom/alldev/, is quite large and it is intended to provide a ready-made development environment for different languages and technologies.

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 <YOURUSER> docker
sudo service docker restart

The default docker build command in the Makefile requires Docker experimental features:

sudo sh -c 'echo '\''{"experimental":true}'\'' > /etc/docker/daemon.json'
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 the project

make build

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)

Developer(s) Contact