An open API service indexing awesome lists of open source software.

https://github.com/pupil-labs/pupil-docker-ubuntu

Pupil development dependencies Ubuntu Docker image
https://github.com/pupil-labs/pupil-docker-ubuntu

Last synced: 11 days ago
JSON representation

Pupil development dependencies Ubuntu Docker image

Awesome Lists containing this project

README

        

# pupil-docker-ubuntu
Pupil development dependencies Ubuntu Docker image.

- `master` branch contains dependencies required to build an image based on `Ubuntu 16.04`
- `ubuntu_18.04` branch contains dependencies required to build an image based on `Ubuntu 18.04`

## Setup

Install docker CE on your host machine. Follow instructions [here](https://docs.docker.com/install/).

### Docker on Linux

Follow installation instructions for [Docker Community Edition (CE)](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/). Then install [docker-compose](https://docs.docker.com/compose/install/#install-compose).

Create a [docker group](https://stackoverflow.com/a/33596140):

```bash
sudo usermod -aG docker $(whoami)
```

## Manually Build Docker Image

Build the docker image. This will use the `Dockerfile` by default.

```bash
cd pupil-docker-ubuntu
docker build . --file 'Dockerfile' --tag 'pupillabs/pupil-docker-ubuntu:1.0'
```

## Manually Push Docker image to Docker Hub

If not logged in already, you will need to log in before pushing to docker.

```bash
docker login
```

Push the built image to dockerhub.

```bash
docker push
```

## Debugging

You can run/enter the container like so.

```bash
docker run -d --name pupil-ubuntu tail -f /dev/null
```

```bash
docker exec -it bash
```