You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
keyboard-reader/Dockerfile

14 lines
389 B

FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y ca-certificates make git curl gcc libudev-dev dpkg-dev dh-make
RUN sh -c 'curl -OL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz && \
tar -C /usr/local -xvf go1.21.3.linux-amd64.tar.gz'
ENV PATH="${PATH}:/usr/local/go/bin"
ENV CGO_ENABLED=1
ADD ./ /data
WORKDIR /data
CMD ["make", "deb"]