-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (21 loc) · 827 Bytes
/
Dockerfile
File metadata and controls
26 lines (21 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM debian:bookworm-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
wget \
gnupg \
apt-transport-https \
ca-certificates \
git \
make \
zip \
lowdown \
&& rm -rf /var/lib/apt/lists/*
# Add Google's GPG key and Dart repository (with arm64 support)
RUN wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/dart.gpg \
&& echo 'deb [signed-by=/usr/share/keyrings/dart.gpg arch=amd64,arm64] https://storage.googleapis.com/download.dartlang.org/linux/debian stable main' | tee /etc/apt/sources.list.d/dart_stable.list
# Install Dart SDK and sass
RUN apt-get update && apt-get install -y dart sass && rm -rf /var/lib/apt/lists/*
# Set PATH for Dart
ENV PATH="/usr/lib/dart/bin:${PATH}"
WORKDIR /app
VOLUME ["/app"]