Skip to content

Commit

Permalink
ci: ovn-kubernetes: Bump go version to 1.17.
Browse files Browse the repository at this point in the history
Building the ovn-kubernetes images for testing was failing lately due
to kubernetes/kubernetes#106666, so bump the
go version to 1.17 where this is fixed.

Also bump Fedora version to 35.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
dceara authored and numansiddique committed Feb 23, 2022
1 parent 71f87a6 commit 9c1a77c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .ci/ovn-kubernetes/Dockerfile
@@ -1,6 +1,6 @@
ARG OVNKUBE_COMMIT=master

FROM fedora:33 AS ovnbuilder
FROM fedora:35 AS ovnbuilder

USER root

Expand All @@ -9,7 +9,7 @@ ENV PYTHONDONTWRITEBYTECODE yes
# install needed rpms - openvswitch must be 2.10.4 or higher
RUN INSTALL_PKGS=" \
python3-pyyaml bind-utils procps-ng openssl numactl-libs firewalld-filesystem \
libpcap hostname \
libpcap hostname desktop-file-utils \
python3-openvswitch python3-pyOpenSSL \
autoconf automake libtool g++ gcc fedora-packager rpmdevtools \
unbound unbound-devel groff python3-sphinx graphviz openssl openssl-devel \
Expand All @@ -36,7 +36,7 @@ RUN rm rpm/rpmbuild/RPMS/x86_64/*debug*
RUN rm rpm/rpmbuild/RPMS/x86_64/*docker*

# Build ovn-kubernetes
FROM golang:1.16 as ovnkubebuilder
FROM golang:1.17 as ovnkubebuilder
ARG OVNKUBE_COMMIT
# Clone OVN Kubernetes and build the binary based on the commit passed as argument
WORKDIR /root
Expand All @@ -45,7 +45,7 @@ WORKDIR /root/ovn-kubernetes/go-controller
RUN git checkout ${OVNKUBE_COMMIT} && git log -n 1 && make

# Build the final image
FROM fedora:33
FROM fedora:35

# install needed dependencies
RUN INSTALL_PKGS=" \
Expand Down

0 comments on commit 9c1a77c

Please sign in to comment.