Skip to content

manifest for phusion/baseimage:latest not found: manifest unknown: manifest unknown #8

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

Open
mabushey opened this issue Aug 28, 2020 · 12 comments

Comments

@mabushey
Copy link

You have the right idea, I hate how rust wants to just run amok and install crap everywhere. I have Ubuntu and rust is installed correctly via apt.

I don't think phusion exists anymore. :(

$ ./create_docker.sh                                                                                                                                                                                                              master 
Sending build context to Docker daemon  135.7kB
Step 1/10 : FROM phusion/baseimage
manifest for phusion/baseimage:latest not found: manifest unknown: manifest unknown






container rust_nvim_docker created, you can do :
 * docker run -d -e HOST_USER_UID=$(id -u)  --name YOUR_PROJECT -p YOUR_LOCAL_PORT:22 rust_nvim_docker => if you need one env by project
@allan-simon
Copy link
Owner

can you tell me if putting :latest-amd64 in the docker file works ?

@allan-simon
Copy link
Owner

their image still exits but indeed the tag "latest" seems to have disappear :/ https://registry.hub.docker.com/r/phusion/baseimage/tags

@mabushey
Copy link
Author

Hi @allan-simon, Thanks for your help. :) You are correct, this fixed that problem:

-FROM phusion/baseimage
+FROM phusion/baseimage:master-amd64

Now I'm running into python 2 -> 3 issues, but that should be simple enough. pip3 is installing Ansible 2.9. I believe 2.5 and above supports python3 so I should be able to get it to work. If I get it going I'll send you a PR with the fixes.

Have a great day!

@allan-simon
Copy link
Owner

cool, can't wait to review it :)

@mabushey
Copy link
Author

I resolved the python issues, cleaned up some deprecated Ansible stuff, and built the container. I can ssh in as vagrant or exec in. cargo new works.

RLS is installed:

vagrant[16:01]  >> rls -V
rls 1.41.0 (48ef96d 2020-08-18)

ls -l ~/.local/share/nvim/plugged

drwxrwxr-x  9 vagrant vagrant 4096 Aug 28 15:44 deoplete.nvim
drwxrwxr-x  7 vagrant vagrant 4096 Aug 28 15:44 echodoc.vim
drwxrwxr-x  9 vagrant vagrant 4096 Aug 28 15:44 LanguageClient-neovim
drwxrwxr-x 11 vagrant vagrant 4096 Aug 28 15:44 neomake
drwxrwxr-x 15 vagrant vagrant 4096 Aug 28 15:44 rust.vim
drwxrwxr-x  5 vagrant vagrant 4096 Aug 28 15:44 vim-better-whitespace

but deoplete does not seem to "running".
vim:

:help deoplete-options
E149: Sorry, no help for deoplete-options

Is there some additional init/enable process to get autocomplete working?

@allan-simon
Copy link
Owner

I think I will re-check the state of the art for "rust autocompletion in vim in 2020" , I think we can first merge your changes and from there I can try to make the autocompletion works again

@mabushey
Copy link
Author

mabushey commented Aug 28, 2020

I submitted a PR. Here's one issue:

vagrant[18:27]  >> racer complete "std::env::args()"                                                                                                                                                                                                                  Err 130 {/}
racer can't find the directory pointed to by the RUST_SRC_PATH variable ""/home/vagrant/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src"". Try using an absolute fully qualified path and make sure it points to the src directory of a rust checkout - e.g. "/home/foouser/src/rust/src".

@allan-simon
Copy link
Owner

ok I've first merged it, we can figure from there how to fix the other issue :)

@mabushey
Copy link
Author

Any updates?

@allan-simon
Copy link
Owner

sorry got busy if i've not answered back can you ping me again on tuesday (I should have freetime by then)

@mabushey
Copy link
Author

It's Wednesday: ping

Hope all is going good.

@mabushey
Copy link
Author

Any updates?

myoshimu added a commit to google/personfinder that referenced this issue Jan 21, 2021
When building the docker environment, following command failed with "manifest for phusion/baseimage:latest not found: manifest unknown" error.
docker build -t personfinder-image .

Seeing the issue below, putting the tag worked fine for me. 
- FROM phusion/baseimage
+ FROM phusion/baseimage:master-amd64
allan-simon/docker-dev-rust#8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants