Skip to content

Commit

Permalink
#158 Fix Docker syntax (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj authored Aug 5, 2024
1 parent b9b5524 commit dbd4e1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ ARG IMAGE_FINAL=senzing/senzingapi-runtime-staging:latest
# Stage: senzingapi_runtime
# -----------------------------------------------------------------------------

FROM ${IMAGE_FINAL} as senzingapi_runtime
FROM ${IMAGE_FINAL} AS senzingapi_runtime

# -----------------------------------------------------------------------------
# Stage: builder
# -----------------------------------------------------------------------------

FROM ${IMAGE_BUILDER} as builder
FROM ${IMAGE_BUILDER} AS builder
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/go-builder" \
Maintainer="support@senzing.com" \
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN mkdir -p /output \
# Stage: final
# -----------------------------------------------------------------------------

FROM ${IMAGE_FINAL} as final
FROM ${IMAGE_FINAL} AS final
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/template-go" \
Maintainer="support@senzing.com" \
Expand Down
10 changes: 5 additions & 5 deletions package.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ ARG IMAGE_FINAL=alpine
# Stage: senzingapi_runtime
# -----------------------------------------------------------------------------

FROM ${IMAGE_SENZINGAPI_RUNTIME} as senzingapi_runtime
FROM ${IMAGE_SENZINGAPI_RUNTIME} AS senzingapi_runtime

# -----------------------------------------------------------------------------
# Stage: go_builder
# -----------------------------------------------------------------------------

FROM ${IMAGE_GO_BUILDER} as go_builder
FROM ${IMAGE_GO_BUILDER} AS go_builder
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/go-builder" \
Maintainer="support@senzing.com" \
Expand Down Expand Up @@ -56,7 +56,7 @@ RUN mkdir -p /output \
# - FPM: https://fpm.readthedocs.io/en/latest/cli-reference.html
# -----------------------------------------------------------------------------

FROM ${IMAGE_FPM_BUILDER} as fpm_builder
FROM ${IMAGE_FPM_BUILDER} AS fpm_builder
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/fpm-builder" \
Maintainer="support@senzing.com" \
Expand Down Expand Up @@ -100,14 +100,14 @@ RUN fpm \
# Stage: final
# -----------------------------------------------------------------------------

FROM ${IMAGE_FINAL} as final
FROM ${IMAGE_FINAL} AS final
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/final-stage" \
Maintainer="support@senzing.com" \
Version="0.1.0"
HEALTHCHECK CMD ["/app/healthcheck.sh"]

# Copy local files from the Git repository.
# Copy files from repository.

COPY ./rootfs /

Expand Down

0 comments on commit dbd4e1b

Please sign in to comment.