Skip to content

Commit

Permalink
[3.0.0] Enable SSL cert verification for wget for Ubuntu based images
Browse files Browse the repository at this point in the history
  • Loading branch information
ThilinaManamgoda authored and chirangaalwis committed Sep 17, 2020
1 parent 292d27e commit 4eeb3a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu/apim-analytics/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN \
&& rm -rf /var/lib/apt/lists/*
# add the WSO2 product distribution to user's home directory
RUN \
wget --no-check-certificate -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
&& unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \
&& chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \
&& rm -f ${WSO2_SERVER}.zip
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu/apim-analytics/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN \
&& rm -rf /var/lib/apt/lists/*
# add the WSO2 product distribution to user's home directory
RUN \
wget --no-check-certificate -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
&& unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \
&& chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \
&& rm -f ${WSO2_SERVER}.zip
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ RUN \
&& rm -rf /var/lib/apt/lists/*
# add the WSO2 product distribution to user's home directory
RUN \
wget --no-check-certificate -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
&& unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \
&& chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \
&& mkdir ${USER_HOME}/wso2-tmp \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu/is-as-km/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RUN \
&& rm -rf /var/lib/apt/lists/*
# add the WSO2 product distribution to user's home directory
RUN \
wget --no-check-certificate -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \
&& unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \
&& chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \
&& rm -f ${WSO2_SERVER}.zip
Expand Down

0 comments on commit 4eeb3a9

Please sign in to comment.