openpencil/.devcontainer/Dockerfile
Danila Poyarkov 3e4e3d0b8b
refactor: rename @open-pencil/codegen to @open-pencil/emit (#822)
* refactor: rename @open-pencil/codegen to @open-pencil/emit

In design tools codegen means design-to-code, which is dom-css's job and
Core's codegen tools'. The package builds and prints the syntax trees
exporters emit, so name it for that. It has not been released yet.

* fix: alias @open-pencil/emit to its source in Vite

The rename missed the escaped regex, so Vite resolved the package through
its built dist output.
2026-10-04 11:22:20 +00:00

37 lines
1.5 KiB
Docker

FROM oven/bun@sha256:b86c67b531d87b4db11470d9b2bd0c519b1976eee6fcd71634e73abfa6230d2e
# Bun 1.3.10, pinned to the multi-platform image digest.
ARG CA_CERTIFICATES_VERSION=20250419
ARG GIT_VERSION=1:2.47.3-0+deb13u1
ARG GIT_LFS_VERSION=3.6.1-1+deb13u1
ARG OPENSSH_CLIENT_VERSION=1:10.0p1-7+deb13u4
USER root
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
ca-certificates=${CA_CERTIFICATES_VERSION} \
git=${GIT_VERSION} \
git-lfs=${GIT_LFS_VERSION} \
openssh-client=${OPENSSH_CLIENT_VERSION} \
&& rm -rf /var/lib/apt/lists/* \
&& git lfs install --system \
&& install -d -o bun -g bun \
/workspace/open-pencil/node_modules \
/workspace/open-pencil/packages/scene-graph/node_modules \
/workspace/open-pencil/packages/pen/node_modules \
/workspace/open-pencil/packages/kiwi/node_modules \
/workspace/open-pencil/packages/fig/node_modules \
/workspace/open-pencil/packages/core/node_modules \
/workspace/open-pencil/packages/dom-css/node_modules \
/workspace/open-pencil/packages/design-jsx/node_modules \
/workspace/open-pencil/packages/emit/node_modules \
/workspace/open-pencil/packages/vue/node_modules \
/workspace/open-pencil/packages/cli/node_modules \
/workspace/open-pencil/packages/mcp/node_modules \
/workspace/open-pencil/packages/docs/node_modules \
/workspace/open-pencil/tools/docs/node_modules
USER bun