[vas]: remove docker-vas (#499)

This commit is contained in:
lguohan 2017-04-13 06:08:28 -07:00 committed by GitHub
parent e47b8cc0b2
commit b3e10d2093
2 changed files with 0 additions and 44 deletions

View File

@ -1,42 +0,0 @@
FROM docker-base
COPY deps/vasclnt_*.deb deps/vasgp_*.deb /deps/
COPY user-override /etc/opt/quest/vas/user-override
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
## Pre-install the fundamental packages
## Clean up
RUN apt-get update && \
dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; } && \
apt-get -y install \
sudo \
&& \
dpkg_apt /deps/vasclnt_*.deb && \
dpkg_apt /deps/vasgp_*.deb && \
apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y && \
rm -rf /deps
## Expose to host, ie. image content will copy to host when container started
## For .so
VOLUME /host/lib/x86_64-linux-gnu
## For config
VOLUME /etc/pam.d/
VOLUME /host/etc
## For domain socket and local caches
VOLUME /var/opt/quest/vas/vasd/
## For home directory
VOLUME /home/
## Delete the symlinks and create full copies to host folder
ENTRYPOINT rm -f /var/run/rsyslogd.pid \
&& service rsyslog start \
&& cp --remove-destination /opt/quest/lib64/nss/libnss_vas4.so.2 \
/host/lib/x86_64-linux-gnu/ \
&& cp --remove-destination /opt/quest/lib64/security/pam_vas3.so \
/host/lib/x86_64-linux-gnu/security/ \
&& cp --remove-destination /etc/nsswitch.conf \
/host/etc/ \
&& service vasd start \
&& /bin/bash

View File

@ -1,2 +0,0 @@
# Overrides every member to have the bash shell
::::::/bin/bash