summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.hello
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-07-17 11:50:16 -0500
committerInstrumental <jonathan.gathman@att.com>2019-07-17 11:50:28 -0500
commit5b77b6489dfb644a901e2640615a32d78f533351 (patch)
tree0353e24dbb2876e3ba6cfeb60bb210a00624a222 /auth/docker/Dockerfile.hello
parent0e302ed774f4c371b9414fe99836836f775b688d (diff)
Update dpush for layer removal
Issue-ID: AAF-873 Change-Id: If35a6d3ee1432032d440385ab21431b1f68c761d Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/Dockerfile.hello')
-rw-r--r--auth/docker/Dockerfile.hello17
1 files changed, 11 insertions, 6 deletions
diff --git a/auth/docker/Dockerfile.hello b/auth/docker/Dockerfile.hello
index 2002822a..2378bae0 100644
--- a/auth/docker/Dockerfile.hello
+++ b/auth/docker/Dockerfile.hello
@@ -17,7 +17,7 @@
# limitations under the License.
# ============LICENSE_END====================================================
#
-FROM ${DOCKER_REPOSITORY}/onap/aaf/aaf_core:${AAF_VERSION}
+FROM ${DOCKER_REPOSITORY}/onap/aaf/aaf_base:${AAF_VERSION}
MAINTAINER AAF Team, AT&T 2018
ENV VERSION=${AAF_VERSION}
@@ -25,11 +25,16 @@ LABEL description="aaf_hello"
LABEL version=${AAF_VERSION}
COPY bin/pod_wait.sh /opt/app/aaf/bin/
+COPY lib /opt/app/aaf/lib
COPY etc /opt/app/osaaf/etc
-RUN mkdir -p /opt/app/aaf/status && chmod 755 /opt/app/aaf/bin/* &&\
- if [ -n "${DUSER}" ]; then \
- chown ${DUSER}:${DUSER} /opt/app/aaf/status &&\
- chown ${DUSER}:${DUSER} /opt/app/osaaf &&\
- chown -R ${DUSER}:${DUSER} /opt/app/aaf; fi
+COPY bin/hello /opt/app/aaf/bin/
+
+RUN mkdir -p /opt/app/osaaf &&\
+ mkdir -p /opt/app/aaf/status &&\
+ chmod 755 /opt/app/aaf/bin/* &&\
+ if [ -n "${DUSER}" ]; then chown ${DUSER}:${DUSER} /opt/app/aaf/status \
+ && chown ${DUSER}:${DUSER} /opt/app/osaaf \
+ && chown -R ${DUSER}:${DUSER} /opt/app/aaf;\
+ fi
CMD []