fix: docker build deprecation warnings
With the latest Docker upgrade, we got the following warnings during build: FromAsCasing: 'as' and 'FROM' keywords' casing do not match LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
This commit is contained in:
parent
06fd645d44
commit
9671824e1f
1
changelog.d/20240621_170044_regis.md
Normal file
1
changelog.d/20240621_170044_regis.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- [Bugfix] Fix legacy warnings during Docker build. (by @regisb)
|
||||||
@ -15,7 +15,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|||||||
pkg-config && \
|
pkg-config && \
|
||||||
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||||
locale-gen
|
locale-gen
|
||||||
ENV LC_ALL en_US.UTF-8
|
ENV LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
###### Git-clone Notes repo ######
|
###### Git-clone Notes repo ######
|
||||||
ARG APP_USER_ID=1000
|
ARG APP_USER_ID=1000
|
||||||
@ -27,7 +27,7 @@ WORKDIR /app/edx-notes-api
|
|||||||
|
|
||||||
###### Install python venv ######
|
###### Install python venv ######
|
||||||
RUN python -m venv /app/venv
|
RUN python -m venv /app/venv
|
||||||
ENV PATH /app/venv/bin:${PATH}
|
ENV PATH=/app/venv/bin:${PATH}
|
||||||
# https://pypi.org/project/setuptools/
|
# https://pypi.org/project/setuptools/
|
||||||
# https://pypi.org/project/pip/
|
# https://pypi.org/project/pip/
|
||||||
# https://pypi.org/project/wheel/
|
# https://pypi.org/project/wheel/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user