mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-11-26 12:04:43 +01:00
create base image from scratch instead of bash
This commit is contained in:
parent
95e729b34c
commit
c81447e194
10
Dockerfile
10
Dockerfile
@ -1,4 +1,8 @@
|
||||
FROM bash
|
||||
FROM bash AS build
|
||||
|
||||
COPY install-php-extensions /usr/bin/install-php-extensions
|
||||
RUN chmod +x /usr/bin/install-php-extensions
|
||||
COPY install-php-extensions /tmp/install-php-extensions
|
||||
RUN chmod +x /tmp/install-php-extensions
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /tmp/install-php-extensions /usr/bin/install-php-extensions
|
||||
|
Loading…
Reference in New Issue
Block a user