aboutsummaryrefslogtreecommitdiffstats
path: root/dbc-client
diff options
context:
space:
mode:
Diffstat (limited to 'dbc-client')
-rw-r--r--dbc-client/pom.xml1
-rw-r--r--dbc-client/src/main/resources/Dockerfile11
2 files changed, 11 insertions, 1 deletions
diff --git a/dbc-client/pom.xml b/dbc-client/pom.xml
index d0945ac..17c877c 100644
--- a/dbc-client/pom.xml
+++ b/dbc-client/pom.xml
@@ -131,6 +131,7 @@
<directory>${multiproject.basedir}/misc</directory>
<includes>
<include>cert-client-init.sh</include>
+ <include>aaf-ca.crt</include>
</includes>
</resource>
</resources>
diff --git a/dbc-client/src/main/resources/Dockerfile b/dbc-client/src/main/resources/Dockerfile
index 1e49e42..2025a5e 100644
--- a/dbc-client/src/main/resources/Dockerfile
+++ b/dbc-client/src/main/resources/Dockerfile
@@ -26,7 +26,16 @@ COPY /opt /opt
WORKDIR /opt/app/dbc-client
-#RUN apk add --no-cache curl
+# Install AAF CA certificate
+RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
+RUN mkdir -p /usr/local/share/ca-certificates && \
+ mv misc/aaf-ca.crt /usr/local/share/ca-certificates/aaf-ca.crt
+RUN update-ca-certificates
+
+# Install curl
+RUN apk add --no-cache curl
+
+RUN apk add --no-cache curl
RUN chmod +x /opt/app/dbc-client/misc/cert-client-init.sh && \
chmod +x /opt/app/dbc-client/bin/* && \