blob: 8acff1b0c745364bab6862bee21d58c5364e7256 [file] [log] [blame]
wriderb1cc45a2019-11-19 10:44:52 -05001#######################################################################
dave kormannaa7f7252019-04-20 04:58:17 -04002# Copyright (c) 2019 AT&T Intellectual Property.
3# Copyright (c) 2019 Nokia.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
wriderb1cc45a2019-11-19 10:44:52 -050016#########################################################################
dave kormannaa7f7252019-04-20 04:58:17 -040017FROM alpine
18
19MAINTAINER "RIC"
20
21LABEL name="Generic initcontainer image for RIC Platform components"
22
23RUN apk update
24
25# iproute2: required for e2 termination
26RUN apk add iproute2
27# kubectl: required for xapp/ricplt helm installers
28RUN apk add openssl
29# kubectl: required for xapp/ricplt helm installers
30ADD https://storage.googleapis.com/kubernetes-release/release/v1.14.1/bin/linux/amd64/kubectl /bin/kubectl
31RUN chmod +x /bin/kubectl
32
33COPY bin/ricplt-init.sh /ricplt-init.sh
34
35#
36CMD /ricplt-init.sh