Skip to content

Commit

Permalink
disable fat runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
flier committed Dec 1, 2024
1 parent f6f1b22 commit d43d1b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
include:
- ubuntu_version: 22.04
- ubuntu_version: 24.04
hyperscan_version: 5.4.2
pcre_version: 8.45
go_version: 1.23.3
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG UBUNTU_VERSION=22.04
ARG UBUNTU_VERSION=24.04

FROM ubuntu:${UBUNTU_VERSION} as build

Expand Down Expand Up @@ -29,7 +29,7 @@ EOT

# Download Hyperscan

ARG HYPERSCAN_VERSION=5.4.1
ARG HYPERSCAN_VERSION=5.4.2

ENV HYPERSCAN_DIR=/hyperscan

Expand Down Expand Up @@ -65,6 +65,7 @@ RUN <<EOT bash
-DBUILD_STATIC_LIBS=ON \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
-DFAT_RUNTIME=off \
..
ninja
ninja install
Expand All @@ -90,7 +91,7 @@ EOT

# Install golang

ARG GO_VERSION=1.20.3
ARG GO_VERSION=1.23.3

ADD https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz /

Expand Down

0 comments on commit d43d1b8

Please sign in to comment.