Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
FROM alpine:3.16.0 as build
FROM alpine:3.22.0 as build

RUN apk --no-cache add alpine-sdk bash clang cmake git

# For the time being lock the commit version until the new release.
ARG FLATBUFFERS_VERSION=b4647b
ARG FLATBUFFERS_VERSION=v25.2.10
ARG FLATCC_VERSION=v0.6.1

RUN git clone https://github.com/google/flatbuffers && \
RUN git clone --depth 1 --branch $FLATBUFFERS_VERSION https://github.com/google/flatbuffers && \
cd /flatbuffers && \
git reset --hard $FLATBUFFERS_VERSION && \
CC=/usr/bin/clang \
CXX=/usr/bin/clang++ \
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release && \
make

RUN git clone --branch $FLATCC_VERSION https://github.com/dvidelabs/flatcc.git && \
RUN git clone --depth 1 --branch $FLATCC_VERSION https://github.com/dvidelabs/flatcc.git && \
cd /flatcc && \
scripts/initbuild.sh make && \
scripts/build.sh

FROM alpine:3.16.0
FROM alpine:3.22.0

# Required dependency for the binaries.
RUN apk --no-cache add libstdc++
Expand Down
Loading