remove php dependency

This commit is contained in:
bel
2020-01-20 22:31:25 -07:00
parent afcc33b76b
commit 73efeb0acf
3 changed files with 55 additions and 31 deletions

View File

@@ -1,16 +1,16 @@
FROM frolvlad/alpine-glibc:alpine-3.9_glibc-2.29
RUN apk update \
&& apk add --no-cache \
ca-certificates \
bash jq curl \
php php-sqlite3 php-pdo php-pdo_mysql php-json php-pdo_sqlite
FROM golang:1.13-alpine as certs
RUN apk update && apk add --no-cache ca-certificates
FROM busybox:glibc
RUN mkdir -p /var/log
WORKDIR /main
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
COPY . .
ENV GOPATH=""
ENV MNT="/mnt/"
ENTRYPOINT ["/bin/bash", "/main/entrypoint.sh"]
ENTRYPOINT ["/main/exec-todo-server"]
CMD []