Skip to content

Commit f095f0e

Browse files
authored
Remove double https prefix from Dockerfiles (#122)
*Description of changes:* Removing the https prefix from the APT and PIP repos. Shell command already had that, so double quoting resulted in error. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 088eddd commit f095f0e

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

docker/jax/training/0.5/Dockerfile.neuronx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ RUN HOME_DIR=/root \
148148
&& rm -rf /tmp/tmp*
149149

150150
# Setting up APT and PIP repo for neuron artifacts
151-
ARG NEURON_APT_REPO=https://apt.repos.neuron.amazonaws.com
151+
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
152152
ARG NEURON_APT_REPO_KEY
153-
ARG NEURON_PIP_REPO=https://pip.repos.neuron.amazonaws.com
153+
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
154154
ARG NEURON_PIP_REPO_KEY
155155
RUN mkdir -p /etc/apt/keyrings \
156156
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \

docker/jax/training/0.6/Dockerfile.neuronx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ RUN HOME_DIR=/root \
148148
&& rm -rf /tmp/tmp*
149149

150150
# Setting up APT and PIP repo for neuron artifacts
151-
ARG NEURON_APT_REPO=https://apt.repos.neuron.amazonaws.com
151+
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
152152
ARG NEURON_APT_REPO_KEY
153-
ARG NEURON_PIP_REPO=https://pip.repos.neuron.amazonaws.com
153+
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
154154
ARG NEURON_PIP_REPO_KEY
155155
RUN mkdir -p /etc/apt/keyrings \
156156
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \

docker/pytorch/inference/2.6.0/Dockerfile.neuronx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ RUN HOME_DIR=/root \
132132
RUN curl -o /license.txt https://aws-dlc-licenses.s3.amazonaws.com/pytorch-2.5/license.txt
133133

134134
# Setting up APT and PIP repo for neuron artifacts
135-
ARG NEURON_APT_REPO=https://apt.repos.neuron.amazonaws.com
135+
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
136136
ARG NEURON_APT_REPO_KEY
137-
ARG NEURON_PIP_REPO=https://pip.repos.neuron.amazonaws.com
137+
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
138138
ARG NEURON_PIP_REPO_KEY
139139
RUN mkdir -p /etc/apt/keyrings \
140140
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \

docker/pytorch/inference/2.7.0/Dockerfile.neuronx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ RUN HOME_DIR=/root \
133133
RUN curl -o /license.txt https://aws-dlc-licenses.s3.amazonaws.com/pytorch-2.7/license.txt
134134

135135
# Setting up APT and PIP repo for neuron artifacts
136-
ARG NEURON_APT_REPO=https://apt.repos.neuron.amazonaws.com
136+
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
137137
ARG NEURON_APT_REPO_KEY
138-
ARG NEURON_PIP_REPO=https://pip.repos.neuron.amazonaws.com
138+
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
139139
ARG NEURON_PIP_REPO_KEY
140140
RUN mkdir -p /etc/apt/keyrings \
141141
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \

docker/vllm/inference/0.7.2/Dockerfile.neuronx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ RUN HOME_DIR=/root \
137137
&& rm -rf ${HOME_DIR}/.cache/conda
138138

139139
# Setting up APT and PIP repo for neuron artifacts
140-
ARG NEURON_APT_REPO=https://apt.repos.neuron.amazonaws.com
140+
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
141141
ARG NEURON_APT_REPO_KEY
142-
ARG NEURON_PIP_REPO=https://pip.repos.neuron.amazonaws.com
142+
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
143143
ARG NEURON_PIP_REPO_KEY
144144
RUN mkdir -p /etc/apt/keyrings \
145145
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \

docker/vllm/inference/0.9.1/Dockerfile.neuronx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ RUN HOME_DIR=/root \
137137
&& rm -rf ${HOME_DIR}/.cache/conda
138138

139139
# Setting up APT and PIP repo for neuron artifacts
140-
ARG NEURON_APT_REPO=https://apt.repos.neuron.amazonaws.com
140+
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
141141
ARG NEURON_APT_REPO_KEY
142-
ARG NEURON_PIP_REPO=https://pip.repos.neuron.amazonaws.com
142+
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
143143
ARG NEURON_PIP_REPO_KEY
144144
RUN mkdir -p /etc/apt/keyrings \
145145
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \

0 commit comments

Comments
 (0)