make seed-spire-tables symlinks frontend/public/eq-asset-preview-master to /home/go/.cache/spire/assets, which causes make install-assets to fail:
docker-compose exec workspace bash -c 'cp -R /tmp/assets/eq-asset-preview-master/ ./frontend/public/' cp: cannot overwrite non-directory './frontend/public/eq-asset-preview-master' with directory '/tmp/assets/eq-asset-preview-master/' make[1]: *** [Makefile:182: install-assets] Error 1 make: *** [Makefile:174: install] Error 2
There does not appear to be a way to fix this without editing files inside the container?
EDIT: I think I fixed it by editing the Makefile. Changed line 182 to:
$(DRUNPREFIX) $(COMPOSE_COMMAND) exec workspace bash -c 'cp -R /tmp/assets/eq-asset-preview-master/* ./frontend/public/eq-asset-preview-master/'
and changed line 215 to:
cp -R /tmp/assets/eq-asset-preview-master/* ./frontend/public/eq-asset-preview-master/
but since it doesn't seem to have actually built anything at this point (which is the entire goal here) I still need to figure out how to do that.
EDIT2: I'm probably doing something wrong, but it appears that make build-binary requires that packr be installed OUTSIDE of the container, which apparently I can't do because of some go version incompatibility. I thought that the whole point of having to download an entire container just to compile software was to prevent this sort of thing from happening?
make seed-spire-tablessymlinksfrontend/public/eq-asset-preview-masterto/home/go/.cache/spire/assets, which causesmake install-assetsto fail:docker-compose exec workspace bash -c 'cp -R /tmp/assets/eq-asset-preview-master/ ./frontend/public/' cp: cannot overwrite non-directory './frontend/public/eq-asset-preview-master' with directory '/tmp/assets/eq-asset-preview-master/' make[1]: *** [Makefile:182: install-assets] Error 1 make: *** [Makefile:174: install] Error 2There does not appear to be a way to fix this without editing files inside the container?
EDIT: I think I fixed it by editing the Makefile. Changed line 182 to:
$(DRUNPREFIX) $(COMPOSE_COMMAND) exec workspace bash -c 'cp -R /tmp/assets/eq-asset-preview-master/* ./frontend/public/eq-asset-preview-master/'and changed line 215 to:
cp -R /tmp/assets/eq-asset-preview-master/* ./frontend/public/eq-asset-preview-master/but since it doesn't seem to have actually built anything at this point (which is the entire goal here) I still need to figure out how to do that.
EDIT2: I'm probably doing something wrong, but it appears that
make build-binaryrequires thatpackrbe installed OUTSIDE of the container, which apparently I can't do because of some go version incompatibility. I thought that the whole point of having to download an entire container just to compile software was to prevent this sort of thing from happening?