blob: a3949384c245ff0d89ba750fa69c39fd9b4aeef4 [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
Matteo Scandolo42fff9b2021-05-05 15:35:55 -070018RUN wget -O - https://github.com/opencord/voltctl/releases/download/v1.6.1/voltctl-1.6.1-linux-amd64 > /usr/bin/voltctl
Scott Baker60e570d2020-02-02 22:10:13 -080019COPY volt.config /root/.volt/config
20RUN chmod a+x /usr/bin/voltctl && sync && voltctl completion bash >> /root/.bashrc
Hardik Windlassb1ec7d02021-02-22 16:24:10 +053021CMD ["sh", "-c", "sleep infinity"]