remove php dependency
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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 []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user