Pin Docker digests #2
@ -4,7 +4,7 @@ name: build and publish
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker@sha256:cfa62987b34ca106a1418afb821f436d957f10a186c7faa27feda781ae7f81fd
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
username:
|
username:
|
||||||
@ -27,7 +27,7 @@ name: test
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker@sha256:cfa62987b34ca106a1418afb821f436d957f10a186c7faa27feda781ae7f81fd
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
repo: mwalbeck/flox
|
repo: mwalbeck/flox
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM debian:10.3-slim AS prep
|
FROM debian:10.3-slim@sha256:1ceec96ca567c40500a2745728f7c19c0801785c8b10187b1d66bcd538694fc2 AS prep
|
||||||
ENV FLOX_VERSION master
|
ENV FLOX_VERSION master
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
@ -9,14 +9,14 @@ RUN set -ex; \
|
|||||||
; \
|
; \
|
||||||
git clone --branch $FLOX_VERSION https://github.com/devfake/flox.git /flox;
|
git clone --branch $FLOX_VERSION https://github.com/devfake/flox.git /flox;
|
||||||
|
|
||||||
FROM composer:1.10.6 AS composer
|
FROM composer:1.10.6@sha256:5c4a8cda7a6cc5035b4725da6ff46be4088d397a9a4d8cf0c2afbfa5dca198f2 AS composer
|
||||||
COPY --from=prep /flox /flox
|
COPY --from=prep /flox /flox
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
cd /flox/backend; \
|
cd /flox/backend; \
|
||||||
composer install;
|
composer install;
|
||||||
|
|
||||||
FROM php:7.3.17-fpm-buster
|
FROM php:7.3.17-fpm-buster@sha256:56dd2c499a2245108ac2f2758ab15f695454d2f1620aaa4d704ec64b4ba8c9a3
|
||||||
COPY --from=composer /flox /usr/share/flox
|
COPY --from=composer /flox /usr/share/flox
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
|
Loading…
Reference in New Issue
Block a user