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
- Host: GitHub
- URL: https://github.com/pupil-labs/pupil-docker-ubuntu
- Owner: pupil-labs
- License: lgpl-3.0
- Created: 2018-03-22T04:45:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T02:50:20.000Z (over 6 years ago)
- Last Synced: 2025-03-26T22:22:48.611Z (29 days ago)
- Language: Shell
- Size: 4.05 MB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```