Add compose for registry

This commit is contained in:
Florent Guiotte 2018-09-19 15:33:35 +02:00
parent b2de4a4846
commit 7ce3fe0cc7
2 changed files with 19 additions and 5 deletions

View File

@ -1,15 +1,15 @@
#FROM base/archlinux
FROM arch-python
FROM base/archlinux
#FROM arch-python
WORKDIR /app
#ADD . /app
ADD . /app
# Update
#RUN pacman -Syu --no-comfirm
RUN pacman -Syu --noconfirm
# minigrida deps
#RUN pacman -S --noconfirm python-gdal python-yaml
RUN pacman -S --noconfirm python-gdal python-yaml
# triskele deps (build)
RUN pacman -S --noconfirm git python-pip make gcc intel-tbb boost

View File

@ -0,0 +1,14 @@
version: '3.7'
services:
registry:
image: registry
restart: always
volumes:
- storage:/var/lib/registry
ports:
- 5000:5000
volumes:
storage: