Skip to content
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

Criar Dockerfile para rodar o ambiente completo #12

Open
fititnt opened this issue Aug 20, 2016 · 1 comment
Open

Criar Dockerfile para rodar o ambiente completo #12

fititnt opened this issue Aug 20, 2016 · 1 comment

Comments

@fititnt
Copy link
Member

fititnt commented Aug 20, 2016

Atualmente o projeto tem opção para rodar com Vagrant. Criar Dockerfile, ou pelo menos documentação sem exigir criação do arquivo, para permitir rodar o Jekyll sem instalar na máquina local.

@fititnt
Copy link
Member Author

fititnt commented Aug 20, 2016

Ao tentar rodar usando o container oficial, com o comando

docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll \
  -it -p 127.0.0.1:4000:4000 jekyll/jekyll

Tenho alguns erros

# fititnt at bravo in /alligo/code/pokemongovet/casos-de-sucesso-na-adocao-de-animais on git:gh-pages o [22:11:28]
$ docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll \
  -it -p 127.0.0.1:4000:4000 jekyll/jekyll
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.0
Using thread_safe 0.3.5
Using addressable 2.4.0
Using coffee-script-source 1.10.0
Using execjs 2.7.0
Installing colorator 0.1
Installing ffi 1.9.10 with native extensions

Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.10
Installing multipart-post 2.0.0
Using gemoji 2.1.0
Installing net-dns 0.8.0
Installing public_suffix 1.5.3
Using sass 3.4.22
Using rb-fsevent 0.9.7
Installing kramdown 1.10.0
Using liquid 3.0.6
Using mercenary 0.3.6
Installing rouge 1.10.1
Using safe_yaml 1.0.4
Installing jekyll-feed 0.5.1
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Using jekyll-paginate 1.1.0
Installing jekyll-sitemap 0.10.0
Installing terminal-table 1.6.0
Using bundler 1.12.5
Using tzinfo 1.2.2
Using coffee-script 2.4.1
An error occurred while installing ffi (1.9.10), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.10'` succeeds before bundling.

(...)

Installing ffi 1.9.10 with native extensions

Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.10

(...)

An error occurred while installing ffi (1.9.10), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.10'` succeeds before bundling.

(...)

Isso pode ser um bug em https://github.com/jekyll/docker

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant