Skip to content

Commit ec5219f

Browse files
committed
Install kmod and new git so image can be used on github actions.
1 parent f192ebe commit ec5219f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV AG="apt-get -qqy --no-install-recommends -o=Dpkg::Use-Pty=0"
1010
ENV SETUPQ="setup.py -q easy_install --always-unzip ."
1111
ENV DEBIAN_FRONTEND=noninteractive
1212
ENV BUILD_DIR="/var/tmp/build"
13-
ENV BUILD_DEPS="devscripts"
13+
ENV BUILD_DEPS="devscripts software-properties-common"
1414
ENV PATH="/venv/bin:$PATH"
1515

1616
COPY setup.sh /
@@ -37,6 +37,7 @@ RUN /setupproxy.sh \
3737
iputils-ping \
3838
iproute2 \
3939
isc-dhcp-client \
40+
kmod \
4041
ladvd \
4142
locales \
4243
libpython3-dev \
@@ -70,6 +71,9 @@ RUN /setupproxy.sh \
7071
&& echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list \
7172
&& ${AG} update \
7273
&& ${AG} install docker-ce \
74+
# Upgrade git for github actions
75+
&& add-apt-repository -y ppa:git-core/ppa \
76+
&& ${AG} install git \
7377
# Cleanup
7478
&& ${AG} purge openvswitch-build-deps ${BUILD_DEPS} \
7579
&& ${AG} autoremove --purge \

0 commit comments

Comments
 (0)