FROM arm64v8/ubuntu:latest
# Setup environment and install necessary packages
RUN apt-get update && apt-get install -y \
curl \
software-properties-common \
gnupg
# Add the NodeSource repository for the latest Node.js LTS version
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
# Install Node.js LTS and Snapcraft
RUN apt-get update && apt-get install -y \
nodejs \
snapcraft