Skip to content

Commit e38bb94

Browse files
committed
Pull efs-utils certs from aws github
1 parent f7071b3 commit e38bb94

File tree

2 files changed

+7
-95
lines changed

2 files changed

+7
-95
lines changed

efs-stunnel/Dockerfile

+7-4
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ RUN cd /usr/local/src && \
2121
make && \
2222
make install && \
2323
cd /usr/local/src && \
24-
rm -rf stunnel-*/
24+
rm -rf stunnel-*/ && \
25+
mkdir -p /etc/amazon/efs
26+
27+
ADD https://raw.githubusercontent.com/aws/efs-utils/master/dist/efs-utils.crt \
28+
/etc/amazon/efs/efs-utils.crt
2529

2630
RUN easy_install pip && \
2731
pip install --ignore-installed \
2832
awscli \
2933
kubernetes && \
30-
mkdir -p /etc/amazon/efs && \
31-
chmod a+rx /etc/amazon /etc/amazon/efs
34+
chmod a+rx /etc/amazon /etc/amazon/efs && \
35+
chmod a+r /etc/amazon/efs/efs-utils.crt
3236

33-
COPY efs-utils.crt /etc/amazon/efs/efs-utils.crt
3437
COPY efs-stunnel.py /usr/local/bin/efs-stunnel.py
3538

3639
CMD /usr/local/bin/efs-stunnel.py

efs-stunnel/efs-utils.crt

-91
This file was deleted.

0 commit comments

Comments
 (0)