blob: 79642739ff24a80d15834cf8b0aaad7d70ce084e [file] [log] [blame]
Hung-Wei Chiufadfe8b2021-07-22 13:41:28 -07001#
2# Copyright 2019-present Open Networking Foundation
3# Copyright (c) 2019 Intel Corporation
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.
16
17FROM alpine:3.12 as onos-classic-helm-utils
18RUN apk --no-cache add --update curl ca-certificates bash jq gettext sed
19
20RUN curl -LO https://dl.k8s.io/release/v1.20.0/bin/linux/amd64/kubectl \
21 && install kubectl -m 755 /usr/local/bin/ \
22 && curl -kfsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 \
23 && chmod 700 get_helm.sh \
24 && VERIFY_CHECKSUM=false ./get_helm.sh \
25 && curl -LO https://github.com/josephburnett/jd/releases/download/v1.4.0/jd-amd64-linux \
26 && install jd-amd64-linux -m 755 /usr/local/bin/jd
27
28COPY entrypoint.sh ./
29ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]