Skip to content

Commit 20da4fd

Browse files
committed
Apply arm image updates.
1 parent e805638 commit 20da4fd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

al/aarch64/standard/2.0/Dockerfile

+3-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

1212
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS core
13-
{{{ imagebuilder:environments }}}
14-
{{{ imagebuilder:components }}}
1513

1614
# Install git, SSH, and other utilities
1715
RUN set -ex \
@@ -264,7 +262,7 @@ ENV PYTHON_PIP_VERSION=21.1.2
264262
ENV PYYAML_VERSION=5.4.1
265263
ENV DOCKER_COMPOSE_VERSION="1.26.2"
266264

267-
RUN cat tools/runtime_configs/python/$PYTHON_37_VERSION > /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_37_VERSION
265+
COPY tools/runtime_configs/python/$PYTHON_37_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_37_VERSION
268266
RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_37_VERSION; rm -rf /tmp/*
269267
RUN pyenv global $PYTHON_37_VERSION
270268
RUN set -ex \
@@ -279,7 +277,7 @@ RUN set -ex \
279277
#**************** PHP ****************************************************
280278
ENV PHP_73_VERSION="7.3.33"
281279

282-
RUN cat tools/runtime_configs/php/$PHP_73_VERSION > /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_73_VERSION
280+
COPY tools/runtime_configs/php/$PHP_73_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_73_VERSION
283281
RUN phpenv install $PHP_73_VERSION; rm -rf /tmp/*; phpenv global $PHP_73_VERSION
284282
RUN echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_73_VERSION/etc/conf.d/memory.ini"
285283

@@ -371,7 +369,7 @@ RUN set -ex \
371369
#Python 3.8
372370
ENV PYTHON_38_VERSION="3.8.16"
373371

374-
RUN cat tools/runtime_configs/python/$PYTHON_38_VERSION > /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_38_VERSION
372+
COPY tools/runtime_configs/python/$PYTHON_38_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_38_VERSION
375373
RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_38_VERSION; rm -rf /tmp/*
376374
RUN pyenv global $PYTHON_38_VERSION
377375
RUN set -ex \

0 commit comments

Comments
 (0)