mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
10 lines
420 B
Docker
10 lines
420 B
Docker
FROM alpine
|
|
|
|
# Disable the runtime transpiler cache by default inside Docker containers.
|
|
# On ephemeral containers, the cache is not useful
|
|
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
|
|
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=${BUN_RUNTIME_TRANSPILER_CACHE_PATH}
|
|
RUN apk add libgcc libstdc++ ripgrep
|
|
ADD ./dist/opencode-linux-x64-baseline-musl/bin/opencode /usr/local/bin/opencode
|
|
RUN opencode --version
|
|
ENTRYPOINT ["opencode"]
|