Skip to content

Commit

Permalink
Simplify ARG
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed May 26, 2022
1 parent 7327c46 commit 449faa5
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 42 deletions.
4 changes: 1 addition & 3 deletions packages/test/harness/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18-alpine
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18-alpine

FROM $BASE_IMAGE

Expand Down
4 changes: 1 addition & 3 deletions playground.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18-alpine
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18-alpine

FROM $BASE_IMAGE

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This container is for simplifying CI when using Azure Pipelines

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This is the container for running the demo under Azure Web App
FROM $BASE_IMAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This container is for simplifying CI when using Azure Pipelines

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This is the container for running the demo under Azure Web App
FROM $BASE_IMAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This container is for simplifying CI when using Azure Pipelines
FROM $BASE_IMAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This is the container for running the demo under Azure Web App
FROM $BASE_IMAGE
Expand Down
4 changes: 1 addition & 3 deletions samples/07.advanced-web-chat-apps/d.sso-for-teams/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This container is for simplifying CI when using Azure Pipelines
FROM $BASE_IMAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This is the container for running the demo under Azure Web App
FROM $BASE_IMAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This container is for simplifying CI when using Azure Pipelines

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18

# This is the container for running the demo under Azure Web App
FROM $BASE_IMAGE
Expand Down
4 changes: 1 addition & 3 deletions testharness.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18-alpine
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18-alpine

FROM $BASE_IMAGE

Expand Down
4 changes: 1 addition & 3 deletions testharness2.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Setting to a different base image to secure your container supply chain.
ARG REGISTRY=docker.io
ARG IMAGE_VERSION=18-alpine
ARG BASE_IMAGE=$REGISTRY/node:$IMAGE_VERSION
ARG BASE_IMAGE=node:18-alpine

FROM $BASE_IMAGE

Expand Down

0 comments on commit 449faa5

Please sign in to comment.