Skip to content
Open
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
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,11 @@ jobs:
docker buildx build \
--builder container \
--output type=oci,dest="./wasmtime-${{ inputs.tag }}-${{ matrix.arch }}.tar" \
--platform "linux/${{ matrix.arch }}" \
--build-arg "SOURCE_DATE_EPOCH=$(date -d "${{ needs.preflight.outputs.wasmtime-commit-date }}" +%s)" \
--build-arg "wasmtime_crate=${{ inputs.wasmtime-crate }}" \
--build-arg "wasmtime_git_rev=${{ inputs.wasmtime-git-sha }}" \
--build-arg "from_base=${{ needs.preflight.outputs.base }}@${{ needs.preflight.outputs.base-digest }}" \
--build-arg "from_build=rust:${{ inputs.rust-version }}" \
--build-arg "from_build=rust:${{ inputs.rust-version }}-alpine" \
--label org.opencontainers.image.authors="Bytecode Alliance <https://bytecodealliance.org>" \
--label org.opencontainers.image.base.digest="${{ needs.preflight.outputs.base-digest }}" \
--label org.opencontainers.image.base.name="${{ needs.preflight.outputs.base }}" \
Expand Down
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,16 @@ 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 ; \
cargo install --locked cargo-auditable ; \
if [ "${wasmtime_crate}" = "" ] ; then \
cargo auditable install \
--target "$(arch)-unknown-linux-musl" \
--git https://github.com/bytecodealliance/wasmtime.git \
--rev "${wasmtime_git_rev}" \
--locked \
wasmtime-cli \
; \
else \
cargo auditable install \
--target "$(arch)-unknown-linux-musl" \
--locked \
wasmtime-cli@${wasmtime_crate} \
; \
Expand Down