Skip to content

Commit

Permalink
Change dockerfile to ubuntu 20.04 and correct OS check issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xdddduo authored and aman-goel committed Jun 18, 2024
1 parent f145cbc commit e22e174
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM ubuntu:latest
FROM ubuntu:20.04

RUN apt-get update && apt-get install -y git wget python3 python3-distutils sudo nano && sudo ln -s /usr/bin/python3 /usr/bin/python

WORKDIR /app

RUN git clone https://github.com/aman-goel/avr.git
WORKDIR /app/avr
RUN sed -i 's/-n "$(uname -a | grep Ubuntu)"/1 -eq 1/g' build.sh ## to get rid of OS check
RUN chmod +x build.sh && chmod +x deps/build_deps.sh ## run build.sh manually, as it requires some y-s

CMD ["bash"]
Expand Down

0 comments on commit e22e174

Please sign in to comment.