Skip to content

Commit 2401c94

Browse files
committed
FromAsCasing
1 parent 1614202 commit 2401c94

File tree

27 files changed

+110
-110
lines changed

27 files changed

+110
-110
lines changed

packages/postgres-database/docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM python:3.6-slim as base
2+
FROM python:3.6-slim AS base
33

44
LABEL maintainer=sanderegg
55

@@ -13,7 +13,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
1313
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
1414

1515

16-
FROM base as build
16+
FROM base AS build
1717

1818
RUN apt-get update \
1919
&& apt-get install -y --no-install-recommends \
@@ -41,7 +41,7 @@ ARG GIT_REPOSITORY
4141
RUN git clone --single-branch --branch ${GIT_BRANCH} ${GIT_REPOSITORY} osparc-simcore\
4242
&& uv pip install osparc-simcore/packages/postgres-database[migration]
4343

44-
FROM base as production
44+
FROM base AS production
4545

4646
ENV PYTHONOPTIMIZE=TRUE
4747

packages/postgres-database/scripts/erd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44

55
RUN apt-get update \
66
&& apt-get -y install --no-install-recommends\

packages/service-integration/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44

55
LABEL maintainer=pcrespov
66

@@ -46,7 +46,7 @@ ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
4646

4747
# -------------------------- Build stage -------------------
4848

49-
FROM base as build
49+
FROM base AS build
5050

5151
RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
5252
--mount=type=cache,target=/var/lib/apt,mode=0755,sharing=private \
@@ -82,9 +82,9 @@ RUN \
8282

8383
# -------------------------- Build stage -------------------
8484

85-
FROM base as development
85+
FROM base AS development
8686
# NOTE: this is necessary to allow to build development images but is the same as production here
87-
FROM base as production
87+
FROM base AS production
8888

8989
ENV PYTHONOPTIMIZE=TRUE
9090

scripts/apt-packages-versions/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44

55
RUN \
66
apt-get update && \

scripts/erd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99

1010
ARG PYTHON_VERSION="3.11.9"
11-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
11+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
1212

1313
RUN apt-get update \
1414
&& apt-get -y install --no-install-recommends\

scripts/pydeps-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
#
1111
ARG PYTHON_VERSION="3.11.9"
12-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
12+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
1313

1414

1515
RUN apt-get update \

services/agent/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44

55
#
66
# USAGE:
@@ -62,7 +62,7 @@ RUN \
6262
#
6363
# + /build WORKDIR
6464
#
65-
FROM base as build
65+
FROM base AS build
6666

6767
ENV SC_BUILD_TARGET=build
6868

@@ -104,7 +104,7 @@ RUN \
104104
# + /build
105105
# + services/agent [scu:scu] WORKDIR
106106
#
107-
FROM build as prod-only-deps
107+
FROM build AS prod-only-deps
108108

109109
ENV SC_BUILD_TARGET prod-only-deps
110110

@@ -126,7 +126,7 @@ RUN \
126126
# + /home/scu $HOME = WORKDIR
127127
# + services/agent [scu:scu]
128128
#
129-
FROM base as production
129+
FROM base AS production
130130

131131
ENV SC_BUILD_TARGET=production \
132132
SC_BOOT_MODE=production
@@ -166,7 +166,7 @@ CMD ["/bin/sh", "services/agent/docker/boot.sh"]
166166
# + /devel WORKDIR
167167
# + services (mounted volume)
168168
#
169-
FROM build as development
169+
FROM build AS development
170170

171171
ENV SC_BUILD_TARGET=development \
172172
SC_DEVEL_MOUNT=/devel/services/agent

services/api-server/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44
#
55
# USAGE:
66
# cd sercices/api-server
@@ -58,7 +58,7 @@ EXPOSE 3000
5858
#
5959
# + /build WORKDIR
6060
#
61-
FROM base as build
61+
FROM base AS build
6262

6363
ENV SC_BUILD_TARGET=build
6464

@@ -100,7 +100,7 @@ RUN \
100100
# + /build
101101
# + services/api-server [scu:scu] WORKDIR
102102
#
103-
FROM build as prod-only-deps
103+
FROM build AS prod-only-deps
104104

105105
ENV SC_BUILD_TARGET prod-only-deps
106106

@@ -123,7 +123,7 @@ RUN \
123123
# + /home/scu $HOME = WORKDIR
124124
# + services/api-server [scu:scu]
125125
#
126-
FROM base as production
126+
FROM base AS production
127127

128128
ENV SC_BUILD_TARGET=production \
129129
SC_BOOT_MODE=production
@@ -160,7 +160,7 @@ CMD ["/bin/sh", "services/api-server/docker/boot.sh"]
160160
# + /devel WORKDIR
161161
# + services (mounted volume)
162162
#
163-
FROM build as development
163+
FROM build AS development
164164

165165
ENV SC_BUILD_TARGET=development
166166

services/autoscaling/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44

55
#
66
# USAGE:
@@ -78,7 +78,7 @@ EXPOSE 3000
7878
#
7979
# + /build WORKDIR
8080
#
81-
FROM base as build
81+
FROM base AS build
8282

8383
ENV SC_BUILD_TARGET=build
8484

@@ -120,7 +120,7 @@ RUN \
120120
# + /build
121121
# + services/autoscaling [scu:scu] WORKDIR
122122
#
123-
FROM build as prod-only-deps
123+
FROM build AS prod-only-deps
124124

125125
ENV SC_BUILD_TARGET prod-only-deps
126126

@@ -142,7 +142,7 @@ RUN \
142142
# + /home/scu $HOME = WORKDIR
143143
# + services/autoscaling [scu:scu]
144144
#
145-
FROM base as production
145+
FROM base AS production
146146

147147
ENV SC_BUILD_TARGET=production \
148148
SC_BOOT_MODE=production
@@ -179,7 +179,7 @@ CMD ["/bin/sh", "services/autoscaling/docker/boot.sh"]
179179
# + /devel WORKDIR
180180
# + services (mounted volume)
181181
#
182-
FROM build as development
182+
FROM build AS development
183183

184184
ENV SC_BUILD_TARGET=development \
185185
SC_DEVEL_MOUNT=/devel/services/autoscaling

services/catalog/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG PYTHON_VERSION="3.11.9"
3-
FROM python:${PYTHON_VERSION}-slim-bookworm as base
3+
FROM python:${PYTHON_VERSION}-slim-bookworm AS base
44
#
55
#
66
# USAGE:
@@ -59,7 +59,7 @@ EXPOSE 3000
5959
#
6060
# + /build WORKDIR
6161
#
62-
FROM base as build
62+
FROM base AS build
6363

6464
ENV SC_BUILD_TARGET=build
6565

@@ -101,7 +101,7 @@ RUN \
101101
# + /build
102102
# + services/catalog [scu:scu] WORKDIR
103103
#
104-
FROM build as prod-only-deps
104+
FROM build AS prod-only-deps
105105

106106
ENV SC_BUILD_TARGET prod-only-deps
107107

@@ -123,7 +123,7 @@ RUN \
123123
# + /home/scu $HOME = WORKDIR
124124
# + services/catalog [scu:scu]
125125
#
126-
FROM base as production
126+
FROM base AS production
127127

128128
ENV SC_BUILD_TARGET=production \
129129
SC_BOOT_MODE=production
@@ -159,7 +159,7 @@ CMD ["/bin/sh", "services/catalog/docker/boot.sh"]
159159
# + /devel WORKDIR
160160
# + services (mounted volume)
161161
#
162-
FROM build as development
162+
FROM build AS development
163163

164164
ENV SC_BUILD_TARGET=development
165165

0 commit comments

Comments
 (0)