Skip to content

Commit

Permalink
Merge pull request #40 from balena-io-examples/vipulgupta2048/update-…
Browse files Browse the repository at this point in the history
…base-image

patch: Update base image
  • Loading branch information
flowzone-app[bot] authored Apr 19, 2024
2 parents 126ef16 + 2221bbb commit 3676d12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Rust as the base image
FROM rust:1.65-slim-buster as builder
FROM rust:1.65-slim as builder

# 1. Create a new empty shell project
RUN USER=root cargo new --bin balena-rust-hello-world
Expand All @@ -20,7 +20,7 @@ RUN touch -a -m ./src/main.rs
RUN cargo build --release --target-dir .

# 6. Chain builds for optimization
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster-run
FROM balenalib/%%BALENA_ARCH%%-debian:latest-run

WORKDIR /usr/src/balena-rust-hello-world

Expand Down

0 comments on commit 3676d12

Please sign in to comment.