Bug fix in RANSlice platform logic POM
[ccsdk/distribution.git] / dgbuilder-docker / src / main / docker / Dockerfile
1 # Base standard ONAP java base image with added packages needed for nodered
2 FROM onap/ccsdk-alpine-j11-image:${project.docker.latestfulltag.version}
3 MAINTAINER CCSDK  Team (onap-discuss@lists.onap.org)
4
5 # Create non-root user
6 USER root
7 RUN addgroup -S dgbuilder && adduser -S dgbuilder -G dgbuilder
8
9 RUN apk --no-cache add curl
10 #RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
11 RUN apk add gcc g++ make ncurses
12
13 # copy onap
14 COPY --chown=dgbuilder:dgbuilder opt /opt
15 RUN apk update && apk add yarn nodejs
16 RUN node --version
17 WORKDIR /opt/onap/ccsdk/dgbuilder
18 # Set the proxy if needed
19 # RUN npm config set proxy http://your.proxy.com:8080
20 RUN cd /opt/onap/ccsdk/dgbuilder/ && npm config set strict-ssl false && npm install
21
22 #ENTRYPOINT /bin/bash /opt/onap/ccsdk/dgbuilder/start sdnc1.0
23
24 USER dgbuilder
25 EXPOSE 3100
26

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use