Skip to content
Snippets Groups Projects
Commit 85561596 authored by Kentaro Wada's avatar Kentaro Wada
Browse files

Stop supporting docker since it is unstable + docker hub has changed

parent be4629a3
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@
<a href="https://pypi.python.org/pypi/labelme"><img src="https://img.shields.io/pypi/v/labelme.svg"></a>
<a href="https://pypi.org/project/labelme"><img src="https://img.shields.io/pypi/pyversions/labelme.svg"></a>
<a href="https://github.com/wkentaro/labelme/actions"><img src="https://github.com/wkentaro/labelme/workflows/ci/badge.svg?branch=main&event=push"></a>
<a href="https://hub.docker.com/r/wkentaro/labelme"><img src="https://img.shields.io/docker/cloud/build/wkentaro/labelme"></a>
</div>
<div align="center">
......@@ -65,7 +64,7 @@ It is written in Python and uses Qt for its graphical interface.
There are options:
- Platform agnostic installation: [Anaconda](#anaconda), [Docker](#docker)
- Platform agnostic installation: [Anaconda](#anaconda)
- Platform specific installation: [Ubuntu](#ubuntu), [macOS](#macos), [Windows](#windows)
- Pre-build binaries from [the release section](https://github.com/wkentaro/labelme/releases)
......@@ -85,20 +84,6 @@ pip install labelme
# conda install labelme -c conda-forge
```
### Docker
You need install [docker](https://www.docker.com), then run below:
```bash
# on macOS
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" &
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=docker.for.mac.host.internal:0 -v $(pwd):/root/workdir wkentaro/labelme
# on Linux
xhost +
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=:0 -v $(pwd):/root/workdir wkentaro/labelme
```
### Ubuntu
```bash
......
FROM ubuntu:bionic
LABEL maintainer "Kentaro Wada <www.kentaro.wada@gmail.com>"
ENV DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update -qq && \
apt-get install -qq -y \
git \
python3 \
python3-pip \
python3-matplotlib \
python3-pyqt5 \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install -U pip setuptools wheel
RUN python3 -m pip install -v git+https://github.com/wkentaro/labelme.git
RUN mkdir /root/workdir
ENV LANG en-US
WORKDIR /root/workdir
ENTRYPOINT [ "labelme" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment