blob: d17711f0da74898d768edab212d77d89b3477934 [file] [log] [blame]
Scott Baker60e570d2020-02-02 22:10:13 -08001# Copyright 2018-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15FROM busybox:1.31.1-glibc
16
17RUN mkdir -p /usr/bin
18RUN wget -O - https://github.com/opencord/voltctl/releases/download/v1.0.6/voltctl-1.0.6-linux-amd64 > /usr/bin/voltctl
19COPY volt.config /root/.volt/config
20RUN chmod a+x /usr/bin/voltctl && sync && voltctl completion bash >> /root/.bashrc
21CMD ["sh", "-c", "sleep infinity"]