File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ RUN apt-get update \
4242 unzip \
4343 wget
4444
45+ # install tzdata and reconfigure
46+ RUN ln -snf /usr/share/zoneinfo/$(curl -f https://ipapi.co/timezone) /etc/localtime \
47+ && export DEBIAN_FRONTEND=noninteractive \
48+ && apt-get update \
49+ && apt-get install -y tzdata \
50+ && dpkg-reconfigure --frontend noninteractive tzdata
51+
4552# install gh cli
4653RUN ARCH="$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)" \
4754 && curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/cli/cli/releases/latest \
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if [[ "$(service docker status)" == *"Docker is running"* ]]; then
2626 echo " Done!"
2727else
2828 echo " Docker didn't start, status is:"
29- echo $( service docker status)
29+ service docker status
3030 exit 1
3131fi
3232
You can’t perform that action at this time.
0 commit comments