blob: 44aaae6e51283f21bcb5fef65878e11d11ae5d6d [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
Scott Bakeree675552020-02-11 10:43:34 -080018RUN wget -O - https://github.com/opencord/voltctl/releases/download/v1.0.9/voltctl-1.0.9-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
21CMD ["sh", "-c", "sleep infinity"]