Skip to content

Commit

Permalink
shopify: Add cargo-component
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Aug 2, 2024
1 parent d4b7dba commit e59e1d2
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shopify/builder/jinja_tpl/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down
2 changes: 2 additions & 0 deletions shopify/n18.19.0/p8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down
2 changes: 2 additions & 0 deletions shopify/n18.19.0/p8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down
2 changes: 2 additions & 0 deletions shopify/n18.19.0/p8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down
2 changes: 2 additions & 0 deletions shopify/n20.11.0/p8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down
2 changes: 2 additions & 0 deletions shopify/n20.11.0/p8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down
2 changes: 2 additions & 0 deletions shopify/n20.11.0/p8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ RUN apk --no-cache add gettext git htop tree linux-headers libc-dev
# Install Rust
RUN apk --no-cache add rust rust-wasm cargo
RUN cargo install cargo-wasi --root=/usr/local
# Newer cargo-component versions use the target name wasm32-wasip1, which isn't supported by Alpine yet.
RUN apk add --no-cache libressl-dev && cargo install '[email protected]' --root=/usr/local
RUN chmod 777 /usr/local/bin

COPY base.makefile Makefile shopify-app.md /assets/
Expand Down

0 comments on commit e59e1d2

Please sign in to comment.