This commit is contained in:
parent
58b98f470a
commit
bb21935bdc
17
.drone.yml
Normal file
17
.drone.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: harbor.k-space.ee/${DRONE_REPO}
|
||||||
|
registry: harbor.k-space.ee
|
||||||
|
mtu: 1300
|
||||||
|
storage_driver: vfs
|
||||||
|
squash: true
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
@ -1,8 +1,8 @@
|
|||||||
FROM python
|
FROM harbor.k-space.ee/k-space/microservice-base
|
||||||
LABEL name="pinecrypt/ocsp-responder" \
|
LABEL name="pinecrypt/pinecrypt-gateway-ocsp-responder" \
|
||||||
version="rc" \
|
version="rc" \
|
||||||
maintainer="Pinecrypt Labs <info@pinecrypt.com>"
|
maintainer="Pinecrypt Labs <info@pinecrypt.com>"
|
||||||
RUN pip install asn1crypto motor oscrypto pytz sanic sanic_prometheus
|
RUN pip install asn1crypto motor oscrypto
|
||||||
ADD ocsp_responder.py /ocsp_responder.py
|
ADD ocsp_responder.py /ocsp_responder.py
|
||||||
CMD /ocsp_responder.py
|
CMD /ocsp_responder.py
|
||||||
EXPOSE 5001
|
EXPOSE 5001
|
||||||
|
Loading…
Reference in New Issue
Block a user