Closed Boscop closed 3 years ago
A random thought about what could be going on:
How do you get the source code into the docker container?
It's common to COPY
stuff in without the .git
directory, in which case there's no information about branches, git hashes, etc. inside the container.
Seems you haven't installed git in your system?
Closing for lack of activity.
I'm using the plugin as described in the Readme, but it's not creating any files. The project is built inside docker, using
webpack@4.31.0
andwebpack-cli@3.3.2
. But the plugin seems to be calling git, because when git is not installed inside docker, it fails withError: Command failed: git rev-parse HEAD
/bin/sh: 1: git: not found
. So after installing git inside docker, it's not failing and not giving any error, so it's calling git but not writing these files for some reason. Any idea why?