Coder Social home page Coder Social logo

tecnickcom / alldev Goto Github PK

View Code? Open in Web Editor NEW
46.0 5.0 19.0 376 KB

Dockerfile to build a generic development environment based on Ubuntu Linux

License: MIT License

Makefile 4.69% Dockerfile 92.72% Shell 2.60%
docker container development environment gocd agent elastic

alldev's Introduction

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 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 <YOURUSER> 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=<IMAGE_DIR>

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

alldev's People

Contributors

nicolaasuni avatar nicolaasuni-vonage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.