Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
fix: Run entrypoint cmds opportunistically 🐛
Browse files Browse the repository at this point in the history
This also adds common terminal editors to the
docker image...
  • Loading branch information
WillFantom committed Nov 25, 2024
1 parent c68f01f commit 8758c7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN apt-get update -q && \
libssl-dev \
libxml2-dev \
libxslt1-dev \
nano \
net-tools \
openvswitch-common \
openvswitch-switch \
Expand All @@ -76,6 +77,7 @@ RUN apt-get update -q && \
telnet \
tshark \
traceroute \
vim \
zlib1g-dev && \
rm -rf /var/lib/apt/lists/*
COPY --from=openflow /usr/local/bin/ /usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mohsen1.prettify-json",
"stkb.rewrap",
"shardulm94.trailing-spaces",
// TODO: Add python extensions
// Python Extensions
"ms-python.python",
"ms-python.isort",
"ms-python.autopep8"
Expand Down
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

function start_openvswitch_service {
service openvswitch-switch start > /dev/null 2>&1
ovs-vswitchd --pidfile --detach > /dev/null 2>&1
ovs-vswitchd --pidfile --detach > /dev/null 2>&1 || true
ovs-vsctl set-manager ptcp:6640 > /dev/null 2>&1
}

Expand Down

0 comments on commit 8758c7a

Please sign in to comment.