Skip to content

Commit

Permalink
Force CURL trust
Browse files Browse the repository at this point in the history
  • Loading branch information
drivera-armedia committed Sep 2, 2023
1 parent 4a4dd22 commit 359ac78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ RUN chown "${PENTAHO_USER}:${PENTAHO_GROUP}" "${PENTAHO_TOMCAT}/conf"/* && \
chmod a+r "${PENTAHO_SERVER}/pentaho-solutions/system/repository.spring.xml"

# Install Liquibase, and add all the drivers
RUN curl -kL --fail -o "${LB_TAR}" "${LB_SRC}" && \
RUN curl -L --fail -o "${LB_TAR}" "${LB_SRC}" && \
mkdir -p "${LB_DIR}" && \
tar -C "${LB_DIR}" -xzvf "${LB_TAR}" && \
rm -rf "${LB_TAR}" && \
Expand All @@ -120,7 +120,7 @@ RUN curl -kL --fail -o "${LB_TAR}" "${LB_SRC}" && \
COPY --chown=${PENTAHO_USER}:${PENTAHO_GROUP} liquibase.properties "${LB_DIR}/"
COPY --chown=${PENTAHO_USER}:${PENTAHO_GROUP} "sql/${VER}" "${LB_DIR}/pentaho/"

RUN curl -kL --fail -o "/usr/local/bin/curator-wrapper.jar" "${CW_SRC}"
RUN curl -L --fail -o "/usr/local/bin/curator-wrapper.jar" "${CW_SRC}"

# Set cron SUID so we can run it as non-root
RUN chmod ug+s /usr/sbin/crond
Expand Down

0 comments on commit 359ac78

Please sign in to comment.