This commit is contained in:
@@ -26,12 +26,12 @@ jobs:
|
|||||||
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
|
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
|
||||||
target: release
|
target: release
|
||||||
build-args: |
|
build-args: |
|
||||||
OPENCODE_VERSION=2.0.32
|
OPENCODE_VERSION=2.1.4
|
||||||
BUN_VERSION=1.4.3
|
BUN_VERSION=1.4.4
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
push: true
|
push: true
|
||||||
pull: true
|
pull: true
|
||||||
tags: |
|
tags: |
|
||||||
"gitea.woggioni.net/woggioni/opencode:2.0.32"
|
"gitea.woggioni.net/woggioni/opencode:2.1.4"
|
||||||
"gitea.woggioni.net/woggioni/opencode:latest"
|
"gitea.woggioni.net/woggioni/opencode:latest"
|
||||||
|
|||||||
+2
-3
@@ -20,7 +20,7 @@ ENV OPENCODE_CHANNEL=prod
|
|||||||
ENV OPENCODE_VERSION=${OPENCODE_VERSION}
|
ENV OPENCODE_VERSION=${OPENCODE_VERSION}
|
||||||
RUN --mount=type=cache,target=/home/builder/.bun/install/cache,uid=1126 bun install --frozen-lockfile --ignore-scripts
|
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
|
#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 \
|
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 \
|
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 \
|
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 --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed jdk25-graalvm-bin
|
||||||
RUN useradd -m -d /var/lib/opencode opencode
|
RUN useradd -m -d /var/lib/opencode opencode
|
||||||
RUN mkdir /workspace
|
RUN mkdir /workspace
|
||||||
RUN chown opencode:opencode /workspace
|
RUN chown opencode:opencode /workspace
|
||||||
USER opencode
|
USER opencode
|
||||||
RUN pipx install pip-tools
|
|
||||||
USER root
|
USER root
|
||||||
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json
|
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json
|
||||||
RUN mkdir -p /usr/lib/opencode/addons
|
RUN mkdir -p /usr/lib/opencode/addons
|
||||||
|
|||||||
Reference in New Issue
Block a user