Skip to content

Commit c03ab60

Browse files
committed
fix: docker build warning FromAsCasing
Signed-off-by: Ludovic Ortega <[email protected]>
1 parent c83b4e5 commit c03ab60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12.3-alpine as base
1+
FROM python:3.12.3-alpine AS base
22
# UI dependencies
33
RUN apk add build-base pkgconfig cairo-dev nodejs npm
44
# Setup rootless image
@@ -17,7 +17,7 @@ ENV HYPERGLASS_REDIS_HOST=redis
1717
ENV HYPEGLASS_DISABLE_UI=true
1818
ENV HYPERGLASS_CONTAINER=true
1919

20-
FROM base as ui
20+
FROM base AS ui
2121
# Set NPM global install path to the home directory so permissions are correct
2222
RUN mkdir ~/.npm-global ~/.npm-store
2323
RUN npm config set prefix "~/.npm-global"
@@ -26,7 +26,7 @@ WORKDIR /opt/hyperglass/hyperglass/ui
2626
RUN npm install -g pnpm
2727
RUN pnpm install -P
2828

29-
FROM ui as hyperglass
29+
FROM ui AS hyperglass
3030
WORKDIR /opt/hyperglass
3131
RUN pip3 install --user --no-cache-dir -e .
3232

0 commit comments

Comments
 (0)