Skip to content

Commit

Permalink
Merge pull request #45 from smartcitiesdata/add-tls
Browse files Browse the repository at this point in the history
add common cloud provider certs (AWS this time) to metastore
  • Loading branch information
bbrewer-forge authored Jul 17, 2020
2 parents c7432e7 + 3db464f commit 03c9239
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion images/metastore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG jmx_exporter_bin="https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prome
ENV METASTORE_HOME=/opt/hive-metastore \
HADOOP_HOME=/opt/hadoop
RUN set -ex && \
apk add --no-cache bash tini libc6-compat linux-pam && \
apk add --no-cache bash tini libc6-compat linux-pam curl ca-certificates && \
mkdir -p /opt && \
rm /bin/sh && \
ln -sv /bin/bash /bin/sh
Expand All @@ -38,3 +38,8 @@ RUN wget ${mvn_url}/org/postgresql/postgresql/${pg_driver_version}/postgresql-${
WORKDIR $METASTORE_HOME

RUN wget -q $jmx_exporter_bin -O jmx_exporter.jar

RUN curl -L \
-o /usr/local/share/ca-certificates/rds-ca-2019-root.crt \
https://s3.amazonaws.com/rds-downloads/rds-ca-2019-root.pem \
&& update-ca-certificates

0 comments on commit 03c9239

Please sign in to comment.