Skip to content

Commit

Permalink
Merge pull request #958 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
chore: Update Dockerfile for openssl-3.4.1
  • Loading branch information
UltraInstinct14 authored Feb 12, 2025
2 parents 116f07a + 03c4c9f commit 818880e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
#platforms: linux/amd64, linux/arm64
platforms: linux/amd64
platforms: linux/amd64, linux/arm64
#platforms: linux/amd64
push: false
tags: ghcr.io/loxilb-io/loxilb:latest

Expand All @@ -57,8 +57,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
#platforms: linux/amd64, linux/arm64
platforms: linux/amd64
platforms: linux/amd64, linux/arm64
#platforms: linux/amd64
push: true
tags: ghcr.io/loxilb-io/loxilb:latest

Expand All @@ -69,8 +69,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
#platforms: linux/amd64, linux/arm64
platforms: linux/amd64
platforms: linux/amd64, linux/arm64
#platforms: linux/amd64
push: true
build-args: TAG=${{ github.event.inputs.tagName }}
tags: ghcr.io/loxilb-io/loxilb:${{ github.event.inputs.tagName }}
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ RUN mkdir -p /opt/loxilb && \
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.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 && \
# Install openssl-3.4.1
wget https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz && tar -xvzf openssl-3.4.1.tar.gz && \
cd openssl-3.4.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.3.1* && \
rm -fr openssl-3.4.1* && \
# Install bpftool
wget https://github.com/libbpf/bpftool/releases/download/v7.2.0/bpftool-libbpf-v7.2.0-sources.tar.gz && \
tar -xvzf bpftool-libbpf-v7.2.0-sources.tar.gz && cd bpftool/src/ && \
Expand Down

0 comments on commit 818880e

Please # to comment.