Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
digest="$(crane digest "${{ env.image }}" || echo -n '')"
echo "digest=${digest}" | tee -a "${GITHUB_OUTPUT}"

base="cgr.dev/chainguard/static:latest"
base="cgr.dev/chainguard/glibc-dynamic:latest"
echo "base=${base}" | tee -a "${GITHUB_OUTPUT}"
base_digest="$(crane digest "${base}")"
echo "base-digest=${base_digest}" | tee -a "${GITHUB_OUTPUT}"
Expand Down
11 changes: 2 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@ ARG from_build from_base
FROM ${from_build} AS build
ARG wasmtime_crate wasmtime_git_rev
RUN \
apt-get update ; \
apt-get install gcc-$(arch | tr _ -)-linux-gnu musl-tools -y ; \
rustup target add $(arch)-unknown-linux-musl ; \
if [ "${wasmtime_crate}" = "" ] ; then \
cargo install \
--target "$(arch)-unknown-linux-musl" \
cargo install --locked \
--git https://github.com/bytecodealliance/wasmtime.git \
--rev "${wasmtime_git_rev}" \
--locked \
wasmtime-cli \
; \
else \
cargo install \
--target "$(arch)-unknown-linux-musl" \
--locked \
cargo install --locked \
wasmtime-cli@${wasmtime_crate} \
; \
fi
Expand Down