Skip to content

Commit

Permalink
Fix reference to rust-toolchain.toml in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Aug 31, 2023
1 parent ad2cfd8 commit 5ab7010
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

{% if package_arch_target is defined %}
Expand Down
2 changes: 1 addition & 1 deletion docker/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs


Expand Down
2 changes: 1 addition & 1 deletion docker/amd64/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add x86_64-unknown-linux-musl
Expand Down
2 changes: 1 addition & 1 deletion docker/amd64/Dockerfile.buildkit
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs


Expand Down
2 changes: 1 addition & 1 deletion docker/amd64/Dockerfile.buildkit.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add x86_64-unknown-linux-musl
Expand Down
2 changes: 1 addition & 1 deletion docker/arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add aarch64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion docker/arm64/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add aarch64-unknown-linux-musl
Expand Down
2 changes: 1 addition & 1 deletion docker/arm64/Dockerfile.buildkit
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add aarch64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion docker/arm64/Dockerfile.buildkit.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add aarch64-unknown-linux-musl
Expand Down
2 changes: 1 addition & 1 deletion docker/armv6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add arm-unknown-linux-gnueabi
Expand Down
2 changes: 1 addition & 1 deletion docker/armv6/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add arm-unknown-linux-musleabi
Expand Down
2 changes: 1 addition & 1 deletion docker/armv6/Dockerfile.buildkit
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add arm-unknown-linux-gnueabi
Expand Down
2 changes: 1 addition & 1 deletion docker/armv6/Dockerfile.buildkit.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add arm-unknown-linux-musleabi
Expand Down
2 changes: 1 addition & 1 deletion docker/armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add armv7-unknown-linux-gnueabihf
Expand Down
2 changes: 1 addition & 1 deletion docker/armv7/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN rustup target add armv7-unknown-linux-musleabihf
Expand Down
2 changes: 1 addition & 1 deletion docker/armv7/Dockerfile.buildkit
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add armv7-unknown-linux-gnueabihf
Expand Down
2 changes: 1 addition & 1 deletion docker/armv7/Dockerfile.buildkit.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /app

# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./rust-toolchain.toml ./rust-toolchain.toml
COPY ./build.rs ./build.rs

RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry rustup target add armv7-unknown-linux-musleabihf
Expand Down

0 comments on commit 5ab7010

Please sign in to comment.