Add Drone configuration

master
Lauri Võsandi 12 months ago committed by Lauri Võsandi
parent 58b98f470a
commit bb21935bdc
  1. 17
      .drone.yml
  2. 6
      Dockerfile

@ -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
LABEL name="pinecrypt/ocsp-responder" \
FROM harbor.k-space.ee/k-space/microservice-base
LABEL name="pinecrypt/pinecrypt-gateway-ocsp-responder" \
version="rc" \
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
CMD /ocsp_responder.py
EXPOSE 5001

Loading…
Cancel
Save