Explorar el Código

Dockerfile

master
Ricardo Branco hace 6 años
padre
commit
259642e009
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12
    0
      Dockerfile

+ 12
- 0
Dockerfile Ver fichero

@@ -0,0 +1,12 @@
1
+FROM	registry:2.6.2
2
+
3
+RUN	apk --no-cache add python3 python3-dev
4
+
5
+RUN	pip3 install --no-cache-dir docker pyyaml
6
+
7
+COPY	clean_registry.py /usr/local/bin/clean_registry.py
8
+
9
+RUN	python3 -OO -m compileall /usr/local/bin/clean_registry.py
10
+
11
+ENTRYPOINT ["/usr/bin/python3", "/usr/local/bin/clean_registry.py"]
12
+CMD	[]

Loading…
Cancelar
Guardar