diff --git a/Dockerfile b/Dockerfile index 15dea1270..f2b7fc591 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,19 +21,19 @@ RUN mkdir -p /opt/loxilb && \ apt-get update && apt-get install -y wget && \ arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && echo $arch && if [ "$arch" = "arm64" ] ; then apt-get install -y gcc-multilib-arm-linux-gnueabihf; else apt-get update && apt-get install -y gcc-multilib;fi && \ # Arch specific packages - GoLang - wget https://go.dev/dl/go1.22.0.linux-${arch}.tar.gz && tar -xzf go1.22.0.linux-${arch}.tar.gz --directory /usr/local/ && rm go1.22.0.linux-${arch}.tar.gz && \ + wget https://go.dev/dl/go1.23.0.linux-${arch}.tar.gz && tar -xzf go1.23.0.linux-${arch}.tar.gz --directory /usr/local/ && rm go1.23.0.linux-${arch}.tar.gz && \ # Dev and util packages apt-get install -y clang llvm libelf-dev libpcap-dev vim net-tools ca-certificates \ elfutils dwarves git libbsd-dev bridge-utils wget unzip build-essential \ bison flex sudo iproute2 pkg-config tcpdump iputils-ping curl bash-completion && \ - # Install openssl-3.0.7 - wget https://github.com/openssl/openssl/releases/download/openssl-3.0.7/openssl-3.0.7.tar.gz && tar -xvzf openssl-3.0.7.tar.gz && \ - cd openssl-3.0.7 && ./Configure enable-ktls '-Wl,-rpath,$(LIBRPATH)' --prefix=/usr/local/build && \ + # Install openssl-3.3.1 + wget https://github.com/openssl/openssl/releases/download/openssl-3.3.1/openssl-3.3.1.tar.gz && tar -xvzf openssl-3.3.1.tar.gz && \ + cd openssl-3.3.1 && ./Configure enable-ktls '-Wl,-rpath,$(LIBRPATH)' --prefix=/usr/local/build && \ make -j$(nproc) && make install_dev install_modules && cd - && \ cp -a /usr/local/build/include/openssl /usr/include/ && \ if [ -d /usr/local/build/lib64 ] ; then mv /usr/local/build/lib64 /usr/local/build/lib; fi && \ cp -fr /usr/local/build/lib/* /usr/lib/ && ldconfig && \ - rm -fr openssl-3.0.0* && \ + rm -fr openssl-3.3.1* && \ # Install loxilb's custom ntc tool wget https://github.com/loxilb-io/iproute2/archive/refs/heads/main.zip && \ unzip main.zip && cd iproute2-main/ && rm -fr libbpf && wget https://github.com/loxilb-io/libbpf/archive/refs/heads/main.zip && \ @@ -65,8 +65,8 @@ RUN mkdir -p /opt/loxilb && \ rm -fr /root/loxilb-io/loxilb/.github && mkdir -p /root/loxilb-io/loxilb/ && \ cp /usr/local/sbin/loxilb /root/loxilb-io/loxilb/loxilb && rm /usr/local/sbin/loxilb && \ # Install gobgp - wget https://github.com/osrg/gobgp/releases/download/v3.5.0/gobgp_3.5.0_linux_amd64.tar.gz && \ - tar -xzf gobgp_3.5.0_linux_amd64.tar.gz && rm gobgp_3.5.0_linux_amd64.tar.gz && \ + wget https://github.com/osrg/gobgp/releases/download/v3.29.0/gobgp_3.29.0_linux_${arch}.tar.gz && \ + tar -xzf gobgp_3.29.0_linux_${arch}.tar.gz && rm gobgp_3.29.0_linux_${arch}.tar.gz && \ mv gobgp* /usr/sbin/ && rm LICENSE README.md && \ apt-get purge -y clang llvm libelf-dev libpcap-dev libbsd-dev build-essential \ elfutils dwarves git bison flex wget unzip && apt-get -y autoremove && \ diff --git a/go.mod b/go.mod index 27d23b94b..47b1bc2b8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/loxilb-io/loxilb -go 1.22.0 +go 1.23.0 require ( github.com/aws/aws-sdk-go-v2/config v1.27.11