-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dist Docker image migrated to alpine release
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
FROM php:7.1-cli | ||
FROM php:7.1-alpine | ||
|
||
MAINTAINER Cédric Dugat <[email protected]> | ||
|
||
# APT update and basic packages | ||
RUN set -xe && \ | ||
apt-get update && \ | ||
apt-get install -y wget | ||
RUN set -xe && apk update && \ | ||
apk add --update wget && \ | ||
rm -rf /var/cache/apk/* | ||
|
||
RUN wget --quiet --no-check-certificate -O \ | ||
/root/docker-arch-install \ | ||
https://raw.githubusercontent.com/Ph3nol/Docker-Arch/master/install.sh | ||
|
||
RUN chmod +x /root/docker-arch-install | ||
RUN /root/docker-arch-install | ||
RUN /bin/sh /root/docker-arch-install | ||
|
||
ENTRYPOINT ["/usr/local/bin/docker-arch"] |