-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Docker Image #9063
Comments
I make some work on the DockerFile FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
# Add dotnet tools to path.
ENV PATH="${PATH}:/root/.dotnet/tools"
# Install DocFX as a dotnet tool.
RUN dotnet tool update -g docfx && \
docfx --version
# Install wkhtmltopdf, used by DocFX to generate PDF files.
ARG TARGETARCH
COPY wkhtmltox/wkhtmltox_0.12.6.1-2.bullseye_${TARGETARCH:-amd64}.deb /tmp/wkhtmltox.deb
RUN apt-get update -qq && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y -qq --no-install-recommends /tmp/wkhtmltox.deb && \
rm -rf /var/lib/apt/lists/* /tmp/* && \
wkhtmltopdf --version
WORKDIR /opt/prj
VOLUME [ "/opt/prj" ]
ENTRYPOINT [ "docfx" ] |
Github container registry does not require authentication for public container images - a good place to push the container images in absent of a docker organization account. |
cc @yufeih
during a release we need to build the docker and push it to the github registry container ? I use it in my CI/CD in docker in docker then I plublish it in a private registry. |
When a release was publish it would be nice to have a docker image for docfx available in CI/CD job.
The text was updated successfully, but these errors were encountered: