Add compose for registry
This commit is contained in:
parent
b2de4a4846
commit
7ce3fe0cc7
10
Dockerfile
10
Dockerfile
@ -1,15 +1,15 @@
|
|||||||
#FROM base/archlinux
|
FROM base/archlinux
|
||||||
FROM arch-python
|
#FROM arch-python
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
#ADD . /app
|
ADD . /app
|
||||||
|
|
||||||
# Update
|
# Update
|
||||||
#RUN pacman -Syu --no-comfirm
|
RUN pacman -Syu --noconfirm
|
||||||
|
|
||||||
# minigrida deps
|
# minigrida deps
|
||||||
#RUN pacman -S --noconfirm python-gdal python-yaml
|
RUN pacman -S --noconfirm python-gdal python-yaml
|
||||||
|
|
||||||
# triskele deps (build)
|
# triskele deps (build)
|
||||||
RUN pacman -S --noconfirm git python-pip make gcc intel-tbb boost
|
RUN pacman -S --noconfirm git python-pip make gcc intel-tbb boost
|
||||||
|
14
docker-compose-registry.yml
Normal file
14
docker-compose-registry.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
registry:
|
||||||
|
image: registry
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- storage:/var/lib/registry
|
||||||
|
ports:
|
||||||
|
- 5000:5000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
storage:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user