Skip to content

Instantly share code, notes, and snippets.

@fstanis
Created August 11, 2026 21:01
Show Gist options
  • Select an option

  • Save fstanis/f2854ab01c6fb85b63a3d5363e04dd73 to your computer and use it in GitHub Desktop.

Select an option

Save fstanis/f2854ab01c6fb85b63a3d5363e04dd73 to your computer and use it in GitHub Desktop.
PocketBook eReaders SDK 6.8 inside a Docker image
# installs the SDK and all the necessary tooling to use clang and cmake
FROM --platform=linux/amd64 debian:bullseye-slim
RUN \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libtinfo5 \
libarchive-tools \
xz-utils \
make \
cmake \
file \
ca-certificates \
curl && \
rm -rf /var/lib/apt/lists/*
RUN \
curl -fL 'https://github.com/pocketbook/SDK_6.3.0/releases/download/6.8/SDK-B300-6.8.7z' -o /tmp/sdk.7z && \
bsdtar -xf /tmp/sdk.7z -C /opt && \
rm -f /tmp/sdk.7z && \
/opt/SDK-B300-6.8/bin/update_path.sh
ENV PATH="/opt/SDK-B300-6.8/usr/arm-obreey-linux-gnueabi/bin:${PATH}"
WORKDIR /workspace
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment