forked from Fraunhofer-AISEC/ids-clearing-house-service
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkeyring-api.Dockerfile
More file actions
24 lines (19 loc) · 814 Bytes
/
keyring-api.Dockerfile
File metadata and controls
24 lines (19 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#########################################################################################
#
# Builds minimal runtime environment for the keyring-api
# Copyright 2019 Fraunhofer AISEC
#
#########################################################################################
FROM debian:bullseye-slim
RUN apt-get update \
&& echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get --no-install-recommends install -y -q ca-certificates gnupg2 libssl1.1 libc6
# trust the DAPS certificate
COPY docker/daps_cachain.crt /usr/local/share/ca-certificates/daps_cachain.crt
RUN update-ca-certificates
RUN mkdir /server
WORKDIR /server
COPY clearing-house-app/target/release/keyring-api .
COPY docker/entrypoint.sh .
ENTRYPOINT ["/server/entrypoint.sh"]
CMD ["/server/keyring-api"]