Skip to content
Merged
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
6 changes: 1 addition & 5 deletions Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# base-image for node on any machine using a template variable,
# see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/#dockerfile-templates
# and about balena base images here: https://www.balena.io/docs/reference/base-images/base-images/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the above 3 comment lines while we are at it @vipulgupta2048 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wanted to keep this PR as a standalone one to replace only the base image so it can be referenced in the blog post or docs as an example. Did remove these lines later in #53

FROM balenalib/%%BALENA_ARCH%%-node:20-run

# use `install_packages` if you need to install dependencies,
# for instance if you need git, just uncomment the line below.
# RUN install_packages git
FROM node:22-bookworm-slim

# Defines our working directory in container
WORKDIR /usr/src/app
Expand Down