Initial commit

This commit is contained in:
Thomas Klaehn
2020-04-08 04:21:27 +02:00
commit 902c3c1715
2 changed files with 149 additions and 0 deletions

32
Dockerfile Normal file
View File

@@ -0,0 +1,32 @@
FROM debian:bullseye-slim
ARG BUILD_DATE
ARG VERSION
ARG VCS_REF
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199 suggests 'mkdir -p /usr/share/man/man1'
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y \
build-essential \
git \
bzip2 \
tar \
wget \
libncurses5 \
&& mkdir -p /usr/share/man/man1 \
&& apt clean \
&& \
wget "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2" -O - | tar -C /usr/local -xjf -
# documentation
COPY README.md /usr/doc/
WORKDIR /work
ENV PATH "/usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin:/usr/local/bin:$PATH"
## usage
# docker run --rm -it buildenv-sensor-adapter /bin/bash
#