Prechádzať zdrojové kódy

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

Kentaro Wada 2 rokov pred
rodič
commit
8556159651
2 zmenil súbory, kde vykonal 1 pridanie a 41 odobranie
  1. 1 16
      README.md
  2. 0 25
      docker/Dockerfile

+ 1 - 16
README.md

@@ -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

+ 0 - 25
docker/Dockerfile

@@ -1,25 +0,0 @@
-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" ]