Skip to content

Commit 76993d8

Browse files
author
tudor
committed
use host platform for building pglite-builder; use multi core build
1 parent 6e2aad0 commit 76993d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pglite/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04 AS build_sdk
1+
FROM --platform=$BUILDPLATFORM ubuntu:22.04 AS build_sdk
22

33
ARG PG_VERSION=16.4
44
ARG SDK_VERSION=3.1.61.6bi
@@ -27,9 +27,7 @@ RUN \
2727

2828
# Download the python-wasm-sdk source for the given version
2929
# RUN git clone --depth 1 --branch ${SDK_VERSION} https://github.com/pygame-web/python-wasm-sdk.git
30-
# RUN git clone --depth 1 --single-branch --branch tudor/useCores https://github.com/electric-sql/portable-sdk.git
31-
RUN git clone --depth 1 https://github.com/electric-sql/portable-sdk.git
32-
30+
RUN git clone --depth 1 --single-branch --branch tudor/useCores https://github.com/electric-sql/portable-sdk.git
3331

3432
WORKDIR /workspace/portable-sdk/python-wasm-sdk
3533

0 commit comments

Comments
 (0)