Skip to content

Instantly share code, notes, and snippets.

@lc-at
Last active January 2, 2026 12:54
Show Gist options
  • Select an option

  • Save lc-at/fa587949a902847a1056f90aaba4bcdb to your computer and use it in GitHub Desktop.

Select an option

Save lc-at/fa587949a902847a1056f90aaba4bcdb to your computer and use it in GitHub Desktop.
Dockerfile for building OsmocomBB (Debian Trixie)
FROM debian:trixie
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -qq wget git libtool shtool automake autoconf git-core pkg-config make python3 gcc-arm-none-eabi && \
wget https://obs.osmocom.org/projects/osmocom/public_key && \
echo "deb [signed-by=/usr/share/osmocom-keyring/osmocom.asc] https://downloads.osmocom.org/packages/osmocom:/latest/Debian_13/ ./" | tee /etc/apt/sources.list.d/osmocom.list && \
install -Dm644 public_key /usr/share/osmocom-keyring/osmocom.asc && rm public_key && \
apt-get update && apt-get install -qq libosmocore-dev libosmo-csn1-dev libosmo-gprs-rlcmac-dev \
libosmo-gprs-llc-dev libosmo-gprs-sndcp-dev \
libosmo-gprs-gmm-dev libosmo-gprs-sm-dev && \
git clone https://github.com/osmocom/osmocom-bb.git && \
cd osmocom-bb/src && \
make
@lc-at
Copy link
Author

lc-at commented Jan 2, 2026

Versions are not pinned, therefore may break in a few years. When it does, you might just need to change it a little bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment