This commit is contained in:
@@ -26,12 +26,12 @@ jobs:
|
||||
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
|
||||
target: release
|
||||
build-args: |
|
||||
OPENCODE_VERSION=2.0.32
|
||||
BUN_VERSION=1.4.3
|
||||
OPENCODE_VERSION=2.1.4
|
||||
BUN_VERSION=1.4.4
|
||||
platforms: |
|
||||
linux/amd64
|
||||
push: true
|
||||
pull: true
|
||||
tags: |
|
||||
"gitea.woggioni.net/woggioni/opencode:2.0.32"
|
||||
"gitea.woggioni.net/woggioni/opencode:2.1.4"
|
||||
"gitea.woggioni.net/woggioni/opencode:latest"
|
||||
|
||||
+2
-3
@@ -20,7 +20,7 @@ ENV OPENCODE_CHANNEL=prod
|
||||
ENV OPENCODE_VERSION=${OPENCODE_VERSION}
|
||||
RUN --mount=type=cache,target=/home/builder/.bun/install/cache,uid=1126 bun install --frozen-lockfile --ignore-scripts
|
||||
#ADD --chown=builder:builder ./build.ts ./packages/cli/script/build.ts --single
|
||||
RUN --mount=type=cache,target=/home/builder/.bun/install/cache,uid=1126 ./packages/cli/script/build.ts --single --baseline --skip-install
|
||||
RUN --mount=type=cache,target=/home/builder/.bun/install/cache,uid=1126 ./packages/cli/script/build.ts --single --baseline
|
||||
|
||||
|
||||
|
||||
@@ -44,13 +44,12 @@ RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
|
||||
xdg-utils rustup rust-analyzer python-pipx ripgrep git rustup gradle curl sccache openssh \
|
||||
bash-language-server marksman python-lsp-server vscode-css-languageserver x86_64-unknown-linux-musl-zlib x86_64-unknown-linux-musl-gcc \
|
||||
vscode-html-languageserver vscode-json-languageserver yaml-language-server base-devel docker docker-buildx docker-compose less websocat \
|
||||
npm gtk3 alsa-lib trunk
|
||||
npm gtk3 alsa-lib trunk python-uv
|
||||
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed jdk25-graalvm-bin
|
||||
RUN useradd -m -d /var/lib/opencode opencode
|
||||
RUN mkdir /workspace
|
||||
RUN chown opencode:opencode /workspace
|
||||
USER opencode
|
||||
RUN pipx install pip-tools
|
||||
USER root
|
||||
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json
|
||||
RUN mkdir -p /usr/lib/opencode/addons
|
||||
|
||||
Reference in New Issue
Block a user