Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force tzdata update when building images #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ballerina/install
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ SOURCE_DIR=/var/lib/tsuru
source ${SOURCE_DIR}/base/rc/config

apt-get update
apt-get install -y --no-install-recommends
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends tzdata

curl -R -O https://dist.ballerina.io/downloads/0.991.0/ballerina-linux-installer-x64-0.991.0.deb
dpkg -i ballerina-linux-installer-x64-0.991.0.deb
Expand Down
3 changes: 2 additions & 1 deletion cordova/install
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ SOURCE_DIR=/var/lib/tsuru
source ${SOURCE_DIR}/base/rc/config

apt-get update
apt-get install -y --no-install-recommends nginx
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends nginx tzdata

rm -rf /var/log/nginx /var/lib/nginx
mkdir -p /var/log/nginx /var/lib/nginx
Expand Down
3 changes: 2 additions & 1 deletion elixir/install
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
curl -LO http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && dpkg -i erlang-solutions_1.0_all.deb

apt-get update
apt-get install -y --no-install-recommends esl-erlang elixir libssl-dev
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends esl-erlang elixir libssl-dev tzdata
3 changes: 2 additions & 1 deletion go/install
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ SOURCE_DIR=/var/lib/tsuru
source ${SOURCE_DIR}/base/rc/config

apt-get update
apt-get install -y --no-install-recommends curl jq git
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends curl jq git tzdata

cp ${SOURCE_DIR}/go/Procfile ${SOURCE_DIR}/default/Procfile
echo "export GOPATH=${APP_DIR}" | tee -a ${HOME}/.profile /etc/profile >/dev/null
Expand Down
4 changes: 3 additions & 1 deletion java/install
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ SOURCE_DIR=/var/lib/tsuru
source ${SOURCE_DIR}/base/rc/config

apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends \
openjdk-11-jdk \
maven \
tomcat8
tomcat8 \
tzdata

cp $SOURCE_DIR/java/Procfile $SOURCE_DIR/default/Procfile

Expand Down
4 changes: 3 additions & 1 deletion lua/install
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ SOURCE_DIR=/var/lib/tsuru
source ${SOURCE_DIR}/base/rc/config

apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends \
make \
gcc \
build-essential \
libreadline7 \
libreadline-dev
libreadline-dev \
tzdata

curl -R -O http://www.lua.org/ftp/lua-5.3.3.tar.gz
tar zxf lua-5.3.3.tar.gz
Expand Down
4 changes: 4 additions & 0 deletions nodejs/install
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
SOURCE_DIR=/var/lib/tsuru
source ${SOURCE_DIR}/base/rc/config

apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends tzdata

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | NVM_DIR=/etc/nvm bash

cat >> ${HOME}/.profile <<EOF
Expand Down
3 changes: 2 additions & 1 deletion perl/install
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ source ${SOURCE_DIR}/base/rc/config

add_repository ppa:pypy/ppa
apt-get update
apt-get install -y --no-install-recommends carton make
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends carton make tzdata
2 changes: 1 addition & 1 deletion php/install
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ hhvm_repo="deb http://dl.hhvm.com/ubuntu ${UBUNTU_RELEASE} main"
curl https://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
add_repository "${hhvm_repo}"

packages=("nginx-core" "hhvm" "python" "python-yaml" "git" "apache2")
packages=("nginx-core" "hhvm" "python" "python-yaml" "git" "apache2" "tzdata")
for version in $PHP_VERSIONS
do
packages+=("php${version}" "php${version}-fpm" "libapache2-mod-php${version}")
Expand Down
3 changes: 2 additions & 1 deletion play/install
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ACTIVATOR_VERSION="1.3.2"
source /var/lib/tsuru/base/rc/config

apt-get update
apt-get install unzip -y
export DEBIAN_FRONTEND=noninteractive
apt-get install -y unzip tzdata

echo "Downloading activator..."

Expand Down
2 changes: 2 additions & 0 deletions python/install
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export DEBIAN_FRONTEND=noninteractive

apt-get update

export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends \
curl \
libssl1.0.0 \
Expand All @@ -22,6 +23,7 @@ apt-get install -y --no-install-recommends \
libreadline7 \
libexpat1 \
make \
tzdata \
build-essential

mkdir -p /app/.heroku
Expand Down
4 changes: 3 additions & 1 deletion ruby/install
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source ${SOURCE_DIR}/base/rc/config

# Install Essential Packages
apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends \
nodejs \
ruby \
Expand All @@ -24,7 +25,8 @@ apt-get install -y --no-install-recommends \
libxml2-dev \
libxslt1-dev \
libcurl4-openssl-dev \
libffi-dev
libffi-dev \
tzdata

mkdir /home/application/ruby
chown ${USER}:${USER} /home/application/ruby
Expand Down