Create Dockerfile
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
build-essential \
|
||||
gcc-avr \
|
||||
avrdude \
|
||||
arduino-core-avr \
|
||||
make \
|
||||
&& apt-get clean
|
||||
|
||||
WORKDIR /usr/src/
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN make
|
||||
|
||||
CMD ["./main"]
|
||||
Reference in New Issue
Block a user