Skip to content

Commit

Permalink
Add Alpine support to ls-php (eclipse-che#4946)
Browse files Browse the repository at this point in the history
Signed-off-by: David Windell <david@outeredgeuk.com>
  • Loading branch information
davidwindell authored and slemeur committed Jun 26, 2017
1 parent 12e1401 commit e30af7c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ elif echo ${LINUX_TYPE} | grep -qi "opensuse"; then
test "${PACKAGES}" = "" || {
${SUDO} zypper install -y ${PACKAGES};
}

# Alpine 3.3
############
elif echo ${LINUX_TYPE} | grep -qi "alpine"; then
test "${PACKAGES}" = "" || {
${SUDO} apk update
${SUDO} apk add ${PACKAGES};
}

else
>&2 echo "Unrecognized Linux Type"
Expand Down

0 comments on commit e30af7c

Please sign in to comment.