Skip to content

Commit

Permalink
switch to ubuntu and php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jesscarlos committed May 25, 2022
1 parent 782b72c commit ef7e5a2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
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" ]

0 comments on commit ef7e5a2

Please sign in to comment.