Skip to content

Commit

Permalink
Fix dockerfiles AS keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Feb 9, 2025
1 parent 0f291cc commit 0e57d02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DockerfileAlpine
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use Alpine Linux as base image
FROM alpine:latest as buildenv
FROM alpine:latest AS buildenv

# Install necessary dependencies
RUN apk --no-cache add gcc protobuf-c-dev build-base git zip curl
Expand Down
2 changes: 1 addition & 1 deletion DockerfileDebian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:latest as buildenv
FROM debian:latest AS buildenv

RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc protobuf-c-compiler build-essential git zip curl
Expand Down
2 changes: 1 addition & 1 deletion DockerfileUbuntu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04 as buildenv
FROM ubuntu:22.04 AS buildenv

RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc protobuf-c-compiler build-essential git zip curl
Expand Down

0 comments on commit 0e57d02

Please sign in to comment.