zmk-config/Dockerfile

31 lines
524 B
Docker

from ubuntu:22.04
env ZSDK_VERSION=0.13.2
run apt update
run apt install -y \
git \
wget \
autoconf \
automake \
build-essential \
bzip2 \
ccache \
device-tree-compiler \
dfu-util \
g++ \
gcc \
libtool \
make \
ninja-build \
cmake \
python3-dev \
python3-pip \
python3-setuptools \
xz-utils
run groupadd -g 1000 builder
run useradd -m -u 1000 -g 1000 -s /bin/bash builder
user builder
workdir /home/builder