Skip to content

Commit

Permalink
Fix FromAsCasing build check
Browse files Browse the repository at this point in the history
  • Loading branch information
JorickPepin committed Jul 11, 2024
1 parent 0ef77e6 commit 0dc5b36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ services:
Add the following file `infrastructure/docker/services/redirectionio-agent/Dockerfile`:

```Dockerfile
FROM alpine:3.12 as alpine
FROM alpine:3.12 AS alpine

WORKDIR /tmp

Expand Down Expand Up @@ -704,7 +704,7 @@ In order to set up crontab, you should add a new container:
```Dockerfile
# services/php/Dockerfile
FROM php-base as cron
FROM php-base AS cron
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
8 changes: 4 additions & 4 deletions infrastructure/docker/services/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hadolint global ignore=DL3008

FROM debian:12.5-slim as php-base
FROM debian:12.5-slim AS php-base

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down Expand Up @@ -58,7 +58,7 @@ WORKDIR /var/www

ENTRYPOINT [ "/entrypoint" ]

FROM php-base as frontend
FROM php-base AS frontend

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand All @@ -82,9 +82,9 @@ EXPOSE 80

CMD ["runsvdir", "-P", "/etc/service"]

FROM php-base as worker
FROM php-base AS worker

FROM php-base as builder
FROM php-base AS builder

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down

0 comments on commit 0dc5b36

Please sign in to comment.