diff --git a/docker/Dockerfile b/docker/Dockerfile index 300315a..af6fd56 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,7 @@ FROM ubuntu:20.04 +ENV TZ="America/Detroit" +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 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 @@ -7,7 +9,8 @@ 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 +RUN chmod +x build.sh && chmod +x deps/build_deps.sh +RUN ./build.sh CMD ["bash"]