Enable PDF support in Dockerfiles.
This commit is contained in:
parent
c6b169369e
commit
c7656e8264
@ -12,13 +12,13 @@
|
|||||||
#
|
#
|
||||||
# To build this Docker image, run:
|
# To build this Docker image, run:
|
||||||
#
|
#
|
||||||
# docker build -t mediagoblin - < Dockerfile-debian-10-sqlite
|
# docker build -t mediagoblin-debian-10 - < Dockerfile-debian-10-sqlite
|
||||||
#
|
#
|
||||||
# The "- < Dockerfile" format advises Docker not to include the current
|
# The "- < Dockerfile" format advises Docker not to include the current
|
||||||
# directory as build context. Alternatively the following provides build
|
# directory as build context. Alternatively the following provides build
|
||||||
# context:
|
# context:
|
||||||
#
|
#
|
||||||
# docker build -t mediagoblin -f Dockerfile-debian-10-sqlite .
|
# docker build -t mediagoblin-debian-10 -f Dockerfile-debian-10-sqlite .
|
||||||
#
|
#
|
||||||
# Before running the image you first need to first assign the "mediagoblin" and
|
# Before running the image you first need to first assign the "mediagoblin" and
|
||||||
# "user_dev" directories to an artificial group (1024) on the host that is
|
# "user_dev" directories to an artificial group (1024) on the host that is
|
||||||
@ -30,7 +30,7 @@
|
|||||||
#
|
#
|
||||||
# Then you can run the image with the upstream MediaGoblin code:
|
# Then you can run the image with the upstream MediaGoblin code:
|
||||||
#
|
#
|
||||||
# docker run --interactive --tty --publish 6543:6543 mediagoblin
|
# docker run --interactive --tty --publish 6543:6543 mediagoblin-debian-10
|
||||||
#
|
#
|
||||||
# Or you can run with your local "mediagoblin" and "user_dev" directories
|
# Or you can run with your local "mediagoblin" and "user_dev" directories
|
||||||
# bind-mounted into the container. This provides automatic code reloading and
|
# bind-mounted into the container. This provides automatic code reloading and
|
||||||
@ -186,6 +186,7 @@ RUN cd docs && make html
|
|||||||
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
|
||||||
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
|
||||||
RUN echo '[[mediagoblin.media_types.raw_image]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.raw_image]]' >> mediagoblin.ini
|
||||||
|
RUN echo '[[mediagoblin.media_types.pdf]]' >> mediagoblin.ini
|
||||||
|
|
||||||
# Prepare the SQLite database.
|
# Prepare the SQLite database.
|
||||||
#
|
#
|
||||||
|
@ -148,6 +148,7 @@ RUN cd docs && make html
|
|||||||
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
|
||||||
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
|
||||||
RUN echo '[[mediagoblin.media_types.raw_image]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.raw_image]]' >> mediagoblin.ini
|
||||||
|
RUN echo '[[mediagoblin.media_types.pdf]]' >> mediagoblin.ini
|
||||||
|
|
||||||
# Prepare the SQLite database.
|
# Prepare the SQLite database.
|
||||||
#
|
#
|
||||||
|
@ -97,6 +97,8 @@ RUN cd docs && make html
|
|||||||
|
|
||||||
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
|
||||||
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
|
RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
|
||||||
|
# RUN echo '[[mediagoblin.media_types.raw_image]]' >> mediagoblin.ini
|
||||||
|
# RUN echo '[[mediagoblin.media_types.pdf]]' >> mediagoblin.ini
|
||||||
|
|
||||||
# Fedora only
|
# Fedora only
|
||||||
RUN ./bin/pip install certifi
|
RUN ./bin/pip install certifi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user