Skip to content

Commit 833b13a

Browse files
xdddduoaman-goel
authored andcommitted
resolved the need to run build.sh by hand
1 parent e22e174 commit 833b13a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
FROM ubuntu:20.04
22

3+
ENV TZ="America/Detroit"
4+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
35
RUN apt-get update && apt-get install -y git wget python3 python3-distutils sudo nano && sudo ln -s /usr/bin/python3 /usr/bin/python
46

57
WORKDIR /app
68

79
RUN git clone https://github.com/aman-goel/avr.git
810
WORKDIR /app/avr
911
RUN sed -i 's/-n "$(uname -a | grep Ubuntu)"/1 -eq 1/g' build.sh ## to get rid of OS check
10-
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
1114

1215
CMD ["bash"]
1316

0 commit comments

Comments
 (0)