gns3-registry/docker/openvswitch/Dockerfile

18 lines
372 B
Docker
Raw Normal View History

FROM alpine:latest
2024-05-08 17:26:22 +00:00
RUN apk add --no-cache --update openvswitch nano bash bash-completion
# Make bash the default shell
RUN sed -i s,/bin/ash,/bin/bash, /etc/passwd
# Enable bash completion
RUN echo -e "source /etc/profile.d/bash_completion.sh" >> ~/.bashrc
RUN mkdir /var/run/openvswitch
VOLUME /etc/openvswitch/
ADD boot.sh /bin/boot.sh
2024-05-08 17:26:22 +00:00
CMD /bin/bash /bin/boot.sh