summaryrefslogtreecommitdiffstats
path: root/dgbuilder-docker/src/main/docker/Dockerfile
blob: c1fd8dbde01deefce2dcfec6b71b5987ebe9e4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Base ubuntu with added packages needed for open ecomp
FROM onap/ccsdk-ubuntu-image:${project.docker.latestfulltag.version}
MAINTAINER CCSDK  Team (onap-discuss@lists.onap.org)

# Create non-root user
RUN addgroup --system dgbuilder && adduser --system --ingroup dgbuilder dgbuilder

# copy onap
COPY --chown=dgbuilder:dgbuilder opt /opt
WORKDIR /opt/onap/ccsdk/dgbuilder
# Set the proxy if needed
# RUN npm config set proxy http://your.proxy.com:8080
#RUN npm install

#ENTRYPOINT /bin/bash /opt/onap/ccsdk/dgbuilder/start sdnc1.0

USER dgbuilder
EXPOSE 3100