Skip to content

Commit c95d096

Browse files
Force tzdata update when building images
1 parent 1633720 commit c95d096

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

elixir/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
curl -LO http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && dpkg -i erlang-solutions_1.0_all.deb
88

99
apt-get update
10-
apt-get install -y --no-install-recommends esl-erlang elixir
10+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends esl-erlang elixir tzdata

go/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SOURCE_DIR=/var/lib/tsuru
88
source ${SOURCE_DIR}/base/rc/config
99

1010
apt-get update
11-
apt-get install -y --no-install-recommends curl jq git
11+
apt-get install -y --no-install-recommends curl jq git tzdata
1212

1313
cp ${SOURCE_DIR}/go/Procfile ${SOURCE_DIR}/default/Procfile
1414
echo "export GOPATH=${APP_DIR}" | tee -a ${HOME}/.profile /etc/profile >/dev/null

java/install

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ SOURCE_DIR=/var/lib/tsuru
88
source ${SOURCE_DIR}/base/rc/config
99

1010
apt-get update
11-
apt-get install -y --no-install-recommends \
11+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1212
openjdk-11-jdk \
1313
maven \
14-
tomcat8
14+
tomcat8 \
15+
tzdata
1516

1617
cp $SOURCE_DIR/java/Procfile $SOURCE_DIR/default/Procfile
1718

nodejs/install

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
SOURCE_DIR=/var/lib/tsuru
88
source ${SOURCE_DIR}/base/rc/config
99

10+
apt-get update
11+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
12+
1013
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | NVM_DIR=/etc/nvm bash
1114

1215
cat >> ${HOME}/.profile <<EOF

php/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ hhvm_repo="deb http://dl.hhvm.com/ubuntu ${UBUNTU_RELEASE} main"
1010
curl https://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
1111
add_repository "${hhvm_repo}"
1212

13-
packages=("nginx-core" "hhvm" "python" "python-yaml" "git" "apache2")
13+
packages=("nginx-core" "hhvm" "python" "python-yaml" "git" "apache2" "tzdata")
1414
for version in $PHP_VERSIONS
1515
do
1616
packages+=("php${version}" "php${version}-fpm" "libapache2-mod-php${version}")

python/install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ apt-get install -y --no-install-recommends \
2222
libreadline7 \
2323
libexpat1 \
2424
make \
25+
tzdata \
2526
build-essential
2627

2728
mkdir -p /app/.heroku

ruby/install

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ source ${SOURCE_DIR}/base/rc/config
99

1010
# Install Essential Packages
1111
apt-get update
12-
apt-get install -y --no-install-recommends \
12+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1313
nodejs \
1414
ruby \
1515
libgmp-dev \
@@ -24,6 +24,7 @@ apt-get install -y --no-install-recommends \
2424
libxml2-dev \
2525
libxslt1-dev \
2626
libcurl4-openssl-dev \
27-
libffi-dev
27+
libffi-dev \
28+
tzdata
2829

2930
echo "export PATH=/home/application/ruby/bin:${PATH} GEM_PATH=/home/application/ruby GEM_HOME=/home/application/ruby BUNDLE_APP_CONFIG=/home/application/ruby/.bundle/config" | tee -a ${HOME}/.profile /etc/profile >/dev/null

0 commit comments

Comments
 (0)