We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22e174 commit 833b13aCopy full SHA for 833b13a
docker/Dockerfile
@@ -1,13 +1,16 @@
1
FROM ubuntu:20.04
2
3
+ENV TZ="America/Detroit"
4
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
5
RUN apt-get update && apt-get install -y git wget python3 python3-distutils sudo nano && sudo ln -s /usr/bin/python3 /usr/bin/python
6
7
WORKDIR /app
8
9
RUN git clone https://github.com/aman-goel/avr.git
10
WORKDIR /app/avr
11
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
12
+RUN chmod +x build.sh && chmod +x deps/build_deps.sh
13
+RUN ./build.sh
14
15
CMD ["bash"]
16
0 commit comments