Added fast reader CI build image
This commit is contained in:
36
Dockerfile.ci
Normal file
36
Dockerfile.ci
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
FROM golang:1.24.13-trixie
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# System dependencies required by Wails and WebKitGTK 4.1
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
pkg-config \
|
||||
libgtk-3-dev \
|
||||
libwebkit2gtk-4.1-dev \
|
||||
libayatana-appindicator3-dev \
|
||||
curl \
|
||||
git \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Node.js 22 and npm
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Wails CLI
|
||||
RUN go install github.com/wailsapp/wails/v2/cmd/wails@v2.10.2
|
||||
|
||||
ENV PATH="/go/bin:${PATH}"
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
# Install Syft (SBOM generation)
|
||||
RUN curl -sSfL https://get.anchore.io/syft \
|
||||
| sh -s -- -b /usr/local/bin
|
||||
|
||||
# Install Grype (vulnerability scanning)
|
||||
RUN curl -sSfL https://get.anchore.io/grype \
|
||||
| sh -s -- -b /usr/local/bin
|
||||
Reference in New Issue
Block a user