Skip to content

Commit 8b0ac82

Browse files
committed
Added entrypoint to add cert to database
1 parent 1b293e5 commit 8b0ac82

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ COPY ./spectrum_protect.8.1.13.3.tar.gz.aa \
44
./spectrum_protect.8.1.13.3.tar.gz.ab \
55
./spectrum_protect.8.1.13.3.tar.gz.ac \
66
./spectrum_protect.8.1.13.3.tar.gz.ad \
7-
./spectrum_protect.8.1.13.3.tar.gz.ae /workdir
7+
./spectrum_protect.8.1.13.3.tar.gz.ae \
8+
./entrypoint.sh /workdir
89
RUN <<EOF
910
cd /workdir \
1011
&& cat spectrum_protect.8.1.13.3.tar.gz.a* > spectrum_protect.8.1.13.3.tar.gz \
@@ -19,20 +20,18 @@ EOF
1920

2021
RUN <<EOF
2122
apt-get update \
22-
&& apt-get install -y ca-certificates \
23+
&& apt-get install -y ca-certificates openssl \
2324
&& update-ca-certificates \
2425
&& rm -rf /var/lib/apt/lists/*
2526
EOF
2627

2728
ENV LD_LIBRARY_PATH=/usr/local/ibm/gsk8_64/lib64
2829

29-
RUN mkdir /data \
30-
&& ln -sf /dev/stdout /opt/tivoli/tsm/dsmsched.log \
31-
&& ln -sf /dev/stderr /opt/tivoli/tsm/error.log
30+
RUN mkdir /data
3231

3332
VOLUME /data
3433
VOLUME /etc/adsm
3534

3635
WORKDIR /data
3736

38-
CMD ["/usr/bin/dsmc", "incr"]
37+
ENTRYPOINT ["/bin/bash", "-c", "/workdir/entrypoint.sh"]

0 commit comments

Comments
 (0)