there4 / markdown-resume

Generate a responsive CSS3 and HTML5 resume with Markdown, with optional PDF output.
MIT License
1.77k stars 519 forks source link

Using the tool as of march 2022: configuration drift in Dockerfile #97

Closed emcode closed 2 years ago

emcode commented 2 years ago

Hi. First of all thank you for creating this project!

This is not an issue per se just an observation - and maybe helpful message for others (feel free to close this or maybe update ./Dockerfile or maybe readme :)):

As of march 2022 docker build command fails because composer and php images used in ./Dockerfile are pointing to newer versions which are incompatible with the code.

I've managed to run and generate resume by pinnig down versions of base docker images in ./Dockerfile file:

Instead of

FROM composer as composer

I put:

FROM composer:2.0.4 as composer

...and instead of:

FROM php

I put:

FROM php:7.1

After those two changes docker build -f ./Dockerfile . finishes successfully and one can use md2resume using docker without an issue.

I thought it may be useful for someone.