Skip to content

Commit

Permalink
change 'as' -> 'AS' to address docker build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mman authored and martinbosma committed Sep 13, 2024
1 parent fe157eb commit 491ebb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Compile html5 app
FROM node:lts-alpine as html5-app
FROM node:lts-alpine AS html5-app
COPY venus-html5-app/package.json .
COPY venus-html5-app/package-lock.json .
RUN npm install
Expand All @@ -9,15 +9,15 @@ ENV REACT_APP_ENABLE_LANG_OVERRIDE=true
RUN npm run build

# Build flashmq
FROM ubuntu:20.04 as flashmq
FROM ubuntu:20.04 AS flashmq
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y g++ make cmake libssl-dev file docbook2x
COPY flashmq .
RUN nproc=$(nproc) && cmake -DCMAKE_BUILD_TYPE=Release && make -j "$nproc"

# Build dbus-flashmq
FROM ubuntu:20.04 as dbus-flashmq
FROM ubuntu:20.04 AS dbus-flashmq
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y g++ make cmake pkg-config libdbus-1-dev
Expand Down

0 comments on commit 491ebb8

Please sign in to comment.