Skip to content

Commit

Permalink
bash unofficial defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Aug 22, 2020
1 parent 1359beb commit a90a2ba
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion php/scripts/alpine/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -euf -o pipefail
set -euo pipefail

apk del --purge grep build-base file openssl-dev

Expand Down
2 changes: 1 addition & 1 deletion php/scripts/alpine/extensions.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -euf -o pipefail
set -euo pipefail

apk --update --no-cache add \
bzip2 \
Expand Down
2 changes: 2 additions & 0 deletions php/scripts/alpine/nodeyarn.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -euo pipefail

ln -s /usr/lib/npm/bin/npm-cli.js /usr/bin/npm

npm i -g npm@${NPM_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion php/scripts/alpine/packages.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -euf -o pipefail
set -euo pipefail

apk --update --no-cache add \
g++ \
Expand Down
2 changes: 1 addition & 1 deletion php/scripts/chromium.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -euf -o pipefail
set -euo pipefail

# Installing Chromium for Dusk
DEBIAN_FRONTEND=noninteractive apt-get install -yqq \
Expand Down
2 changes: 2 additions & 0 deletions php/scripts/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -euo pipefail

apt-get purge -yqq --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false \
apt-utils \
build-essential \
Expand Down
2 changes: 1 addition & 1 deletion php/scripts/extensions.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -euf -o pipefail
set -euo pipefail

extensions=" \
bcmath \
Expand Down
2 changes: 1 addition & 1 deletion php/scripts/node.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -euf -o pipefail
set -euo pipefail

# NODE JS
curl -sL https://deb.nodesource.com/setup_12.x | bash - \
Expand Down
2 changes: 1 addition & 1 deletion php/scripts/packages.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -euf -o pipefail
set -euo pipefail

############################################################
# Speedup DPKG and don't use cache for packages
Expand Down

0 comments on commit a90a2ba

Please sign in to comment.