-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7822 from tenkoma/2.x-update-dockerfile-and-build
2.x fix build and deploy
- Loading branch information
Showing
11 changed files
with
106 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
FROM debian:bullseye | ||
FROM debian:bookworm | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
LABEL Description="This image is used to create an environment to contribute to the cakephp/docs" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
python3-pip \ | ||
texlive-latex-recommended \ | ||
texlive-latex-extra \ | ||
build-essential \ | ||
latexmk \ | ||
php \ | ||
python3-full \ | ||
texlive-fonts-recommended \ | ||
texlive-lang-all \ | ||
latexmk \ | ||
texlive-latex-extra \ | ||
texlive-latex-recommended \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN python3 -m venv /tmp/venv | ||
ENV PATH="/tmp/venv/bin:$PATH" | ||
|
||
COPY requirements.txt /tmp/ | ||
RUN pip3 install -r /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
|
||
WORKDIR /data | ||
VOLUME "/data" | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.