Skip to content

Commit c4b2570

Browse files
committed
Add Docker helpers
1 parent c8d016e commit c4b2570

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push]
44

55
jobs:
66
build:
7-
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
7+
name: Test on VM ${{ matrix.node_version }} and ${{ matrix.os }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:

install.sh

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
# Docker prerequisites (under root):
4+
# apt -y update && apt -y upgrade && apt install -y curl
5+
36
# Run on new machine as:
47
# curl -L https://git.io/fjWOf | bash
58
# OR
@@ -345,6 +348,8 @@ if is_docker_container
345348
then
346349
echo "\$@" > /usr/local/bin/sudo
347350
chmod +x /usr/local/bin/sudo
351+
export DEBIAN_FRONTEND=noninteractive
352+
export TZ=Etc/UTC
348353
fi
349354

350355
[[ "$OS" == "Darwin" ]] || check_home_space

0 commit comments

Comments
 (0)