| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:b499000226bd9a7c562ffa8eeb86e2d170f2a563310db6c2d79562ab53e5cb6e in / |
| CMD ["/bin/bash"] |
| ENV PASSWORD=password |
| ENV WEB_PORT=2463 |
| ENV LSA_PORT=9000 |
| ENV TERM=xterm |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt -y update && apt -y install --no-install-recommends libldap2-dev libgssapi3-heimdal wget && wget -q http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && wget -q http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-common_2.4.49+dfsg-2ubuntu1_all.deb && wget -q http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2_2.4.49+dfsg-2ubuntu1_amd64.deb && dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb && dpkg -i libldap-common_2.4.49+dfsg-2ubuntu1_all.deb && dpkg -i libldap-2.4-2_2.4.49+dfsg-2ubuntu1_amd64.deb && rm -f *.deb && apt -y remove wget && apt -y autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
| COPY entrypoint.sh / # buildkit |
| COPY LsiSASH / # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| COPY /MSM/webgui_rel/LSA_Linux/gcc_11.2.x /MSM/webgui_rel/LSA_Linux/gcc_11.2.x # buildkit |
| WORKDIR /MSM/webgui_rel/LSA_Linux/gcc_11.2.x |
| RUN /bin/sh -c dpkg -i LSA_lib_utils2-9.00-1_amd64.deb && chmod +x ./RunDEB.sh && bash install_deb.sh -s $WEB_PORT $LSA_PORT 2 && cp /LsiSASH /etc/init.d/LsiSASH && mkdir -p /usr/local/var/log/ && touch /usr/local/var/log/slpd.log && mv /opt/lsi/LSIStorageAuthority /opt/lsi/backup && cd / && rm -rf /MSM # buildkit |
| WORKDIR / |
| ENTRYPOINT ["/entrypoint.sh"] |