Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | FROM busybox:1.31.1-glibc |
| 16 | |
| 17 | RUN mkdir -p /usr/bin |
Matteo Scandolo | 42fff9b | 2021-05-05 15:35:55 -0700 | [diff] [blame] | 18 | RUN wget -O - https://github.com/opencord/voltctl/releases/download/v1.6.1/voltctl-1.6.1-linux-amd64 > /usr/bin/voltctl |
Scott Baker | 60e570d | 2020-02-02 22:10:13 -0800 | [diff] [blame] | 19 | COPY volt.config /root/.volt/config |
| 20 | RUN chmod a+x /usr/bin/voltctl && sync && voltctl completion bash >> /root/.bashrc |
Hardik Windlass | b1ec7d0 | 2021-02-22 16:24:10 +0530 | [diff] [blame] | 21 | CMD ["sh", "-c", "sleep infinity"] |