-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
782b72c
commit ef7e5a2
Showing
1 changed file
with
6 additions
and
5 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,9 +1,10 @@ | ||
FROM alpine:latest | ||
FROM ubuntu:20.04 | ||
|
||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add php-cli php7-yaml | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends software-properties-common \ | ||
&& add-apt-repository ppa:ondrej/php && apt-get update \ | ||
&& apt-get install -y --no-install-recommends libyaml-dev php8.1-cli php8.1-yaml | ||
|
||
COPY ./generate /generate | ||
|
||
ENTRYPOINT ["/usr/bin/php", "/generate" ] | ||
#ENTRYPOINT ["/usr/bin/php", "/generate" ] |