summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-dashboard/.helmignore
blob: 50af0317254197a5a019f4ac2f8ecc223f93f5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
============================== #------------------------------------------------------------------------------- FROM busybox AS tarball RUN mkdir /packages /extracted COPY /maven/lib/sim-participant.tar.gz /packages/ RUN tar xvzf /packages/sim-participant.tar.gz --directory /extracted/ FROM opensuse/leap:15.4 LABEL maintainer="Policy Team" LABEL org.opencontainers.image.title="Policy CLAMP ACM Simulator Participant" LABEL org.opencontainers.image.description="Policy CLAMP ACM Simulator Participant image based on OpenSuse" LABEL org.opencontainers.image.url="https://github.com/onap/policy-clamp" LABEL org.opencontainers.image.vendor="ONAP Policy Team" LABEL org.opencontainers.image.licenses="Apache-2.0" LABEL org.opencontainers.image.created="${git.build.time}" LABEL org.opencontainers.image.version="${git.build.version}" LABEL org.opencontainers.image.revision="${git.commit.id.abbrev}" ARG POLICY_LOGS=/var/log/onap/policy/sim-participant ENV POLICY_LOGS=$POLICY_LOGS ENV POLICY_HOME=/opt/app/policy/clamp ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 ENV JAVA_HOME=/usr/lib64/jvm/java-11-openjdk-11 RUN zypper -n -q install --no-recommends java-11-openjdk-headless netcat-openbsd && \ zypper -n -q update && zypper -n -q clean --all && \ groupadd --system policy && \ useradd --system --shell /bin/sh -G policy policy && \ mkdir -p $POLICY_HOME $POLICY_LOGS && \ chown -R policy:policy $POLICY_HOME $POLICY_LOGS COPY --chown=policy:policy --from=tarball /extracted $POLICY_HOME WORKDIR $POLICY_HOME COPY --chown=policy:policy sim-participant.sh bin/ COPY --chown=policy:policy /maven/policy-clamp-participant-impl-sim.jar /app/app.jar RUN chmod 755 bin/*.sh EXPOSE 8084 USER policy WORKDIR $POLICY_HOME/bin ENTRYPOINT [ "./sim-participant.sh" ]