🔧(docker) change mime.types url in Dockerfile
Change mime.types url in Dockerfile
This commit is contained in:
2
.github/workflows/impress.yml
vendored
2
.github/workflows/impress.yml
vendored
@@ -202,7 +202,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gettext pandoc shared-mime-info
|
sudo apt-get install -y gettext pandoc shared-mime-info
|
||||||
sudo wget https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types -O /etc/mime.types
|
sudo wget https://raw.githubusercontent.com/suitenumerique/django-lasuite/refs/heads/main/assets/conf/mime.types -O /etc/mime.types
|
||||||
|
|
||||||
- name: Generate a MO file from strings extracted from the project
|
- name: Generate a MO file from strings extracted from the project
|
||||||
run: python manage.py compilemessages
|
run: python manage.py compilemessages
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ RUN apk add --no-cache \
|
|||||||
pango \
|
pango \
|
||||||
shared-mime-info
|
shared-mime-info
|
||||||
|
|
||||||
RUN wget https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types -O /etc/mime.types
|
RUN wget https://raw.githubusercontent.com/suitenumerique/django-lasuite/refs/heads/main/assets/conf/mime.types -O /etc/mime.types
|
||||||
|
|
||||||
# Copy entrypoint
|
# Copy entrypoint
|
||||||
COPY ./docker/files/usr/local/bin/entrypoint /usr/local/bin/entrypoint
|
COPY ./docker/files/usr/local/bin/entrypoint /usr/local/bin/entrypoint
|
||||||
|
|||||||
Reference in New Issue
Block a user