3 RUN apt-get -yqq update && apt-get -yqq install lsb-release apt-transport-https \
7 software-properties-common
8 RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
9 RUN add-apt-repository \
10 "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
13 RUN apt-get -yqq update && apt-get -yqq install docker-ce docker-ce-cli mercurial
14 RUN rm -rf /var/lib/apt/lists/*
18 ENV GOLANG_VERSION 1.12.5
19 RUN curl -sSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz \
20 | tar -v -C /usr/local -xz
21 ENV PATH /usr/local/go/bin:$PATH
22 RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
23 ENV GOROOT /usr/local/go
25 ENV PATH /app/go/bin:$PATH
28 RUN git clone https://github.com/onap/demo.git
29 WORKDIR /app/demo/vnfs/DAaaS/microservices
30 ENV RELEASE_VERSION=v0.9.0
31 RUN curl -OJL https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
32 RUN chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu && cp operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/operator-sdk && rm operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu