Comments (5)
@strategicpause Thanks for reaching out, can you paste the output of echo $HOME
for helping with debugging.
from finch.
Sure. I've also included more information about my setup.
$ echo $HOME
/Users/nkpeters
$ pwd
/Users/nkpeters/workspace/finch/contrib/hello-finch
$ ls
Dockerfile README.md go.mod main.go
$ finch build . -t hello-finch
bash: line 1: cd: /Users/nkpeters/workspace/finch/contrib/hello-finch: No such file or directory
FATA[0000] lstat /Users/nkpeters/Containerfile: no such file or directory
FATA[0000] exit status 1
Not sure if this is helpful, but just in case:
$ ls -la ~/workspace
lrwxr-xr-x 1 nkpeters staff 18 May 3 2021 /Users/nkpeters/workspace -> /Volumes/workspace
Edit: The symlink doesn't seem relevant, but leaving it for posterity. I'm still seeing the same issue when cloning the repo into /tmp
.
from finch.
I just cloned the repository to my home directory and it seems to work now.
$ pwd
/Users/nkpeters
$ git clone https://github.com/runfinch/finch.git
$ cd finch/contrib/hello-finch
$ finch build . -t hello-finch
<expected output>
So maybe it is due to the symlink I have?
from finch.
Thanks for the experiments @strategicpause . We currently support mounts only in $HOME
. The configuration can be found here.
$ ls -la ~/workspace
lrwxr-xr-x 1 nkpeters staff 18 May 3 2021 /Users/nkpeters/workspace -> /Volumes/workspace
The symlink doesn't seem relevant, but leaving it for posterity. I'm still seeing the same issue when cloning the repo into /tmp
Since the symlink is to a directory outside of $HOME
the guest is not able to access the Containerfile
in the build. Same reason while cloning the repo in /tmp
.
We have an enhancement story in our queue to support mounts outside $HOME
. #107.
Hope this helps.
from finch.
Closing since this seems like a duplicate of #107
from finch.
Related Issues (20)
- Support BYO credential helpers
- Build fails specifying --platform linux/amd64 sometimes "failed to compute cache key", "failed to create snapshot" HOT 2
- Failed to install on macos-14 github actions runner HOT 2
- docker manifest equivalent HOT 2
- Support --build-context for buildkit HOT 1
- 50GB carved out disk file is surprising as a Docker Desktop user HOT 5
- Unable to use the "--env" option on finch container run HOT 3
- Clock drifts in 1.1.2 HOT 3
- Unable to run /usr/bin/sudo due to volumes/main partition mounted with nosuid HOT 1
- Change ~/.finch/config.json to support compatibility with CDK `DockerImageAsset` HOT 1
- Speed up "sending tarball" step for PythonFunction CDK Construct HOT 2
- SHA256 Mismatch Error When Installing Finch v1.1.3 via Homebrew HOT 5
- Unable to use the "--env-file" option on "finch compose up" command
- Support bundle fails to be created on Windows
- Add features not to forget to execute `finch gen-docs generate -p cmd/finch/` HOT 3
- Unable to start VM after closing command prompt on Windows
- Where is the finch website? HOT 1
- Support AWS CodeBuild local builds with Finch HOT 3
- Enable finch-core local builds
- Support intellij dev containers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finch.