asdf icon indicating copy to clipboard operation
asdf copied to clipboard

Missing few libraries in Dockerfile

Open zeroshree opened this issue 7 years ago • 6 comments

I am facing problem when trying to use asdf in Dockerfile in ubuntu server (it is t2.micro aws).

DOCUMENTATION INFORMATION (See: /asdf/plugins/erlang/kerl-home/builds/asdf_21.0.4/otp_build_21.0.4.log)

  • documentation :
  •              xsltproc is missing.
    
  •              fop is missing.
    
  •              xmllint is missing.
    
  •              The documentation can not be built.
    

Dockerfile Configuration

`FROM ubuntu:18.04

#install ubuntu packages RUN apt-get update -q
&& apt-get install -y
git
curl
locales
build-essential
autoconf
libncurses5-dev
libwxgtk3.0-dev
libgl1-mesa-dev
libglu1-mesa-dev
libpng-dev
libssh-dev
unixodbc-dev
&& apt-get clean

#install asdf and its plugins ENV ASDF_ROOT /asdf ENV PATH "${ASDF_ROOT}/bin:${ASDF_ROOT}/shims:$PATH" RUN git clone https://github.com/asdf-vm/asdf.git ${ASDF_ROOT} --branch v0.5.0
&& asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang
&& asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir
&& asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs
&& ${ASDF_ROOT}/plugins/nodejs/bin/import-release-team-keyring

#set the locale RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8

#install erlang ENV ERLANG_VERSION 21.0.4 RUN asdf install erlang ${ERLANG_VERSION}
&& asdf global erlang ${ERLANG_VERSION}

# install elixir ENV ELIXIR_VERSION 1.7.4 RUN asdf install elixir ${ELIXIR_VERSION}
&& asdf global elixir ${ELIXIR_VERSION} `

Then I add to install apt-get install -y xsltproc fop

but still getting this *xmllint is missing.

zeroshree avatar Dec 19 '18 08:12 zeroshree

Are you using the latest version of asdf-erlang? I think we recently changed how it does documentation. By default it shouldn't build any docs.

Stratus3D avatar Dec 19 '18 14:12 Stratus3D

I am using version asdf_21.0.4 for asdf-erlang.

zeroshree avatar Dec 19 '18 15:12 zeroshree

asdf_21.0.4 isn't a version. I'm talking about the plugin itself, not the Erlang version. Are you using the latest version of asdf-erlang? You can verify you are by running asdf plugin-update erlang

Stratus3D avatar Dec 19 '18 15:12 Stratus3D

Ok I ll check

On Wed, 19 Dec 2018, 21:22 Trevor Brown <[email protected] wrote:

asdf_21.0.4 isn't a version. I'm talking about the plugin itself, not the Erlang version. Are you using the latest version of asdf-erlang? You can verify you are by running asdf plugin-update erlang

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asdf-vm/asdf/issues/415#issuecomment-448644120, or mute the thread https://github.com/notifications/unsubscribe-auth/Alv5DaEgphmx4-kWQ_MHdea5L61dUn90ks5u6mC_gaJpZM4ZZwOm .

zeroshree avatar Dec 19 '18 18:12 zeroshree

Closing this as I believe this is something that has been addressed in the latest version of asdf-erlang.

Stratus3D avatar Jan 04 '19 22:01 Stratus3D

yes , please close it since I resolved it.

On Sat, Jan 5, 2019 at 4:28 AM Trevor Brown [email protected] wrote:

Closed #415 https://github.com/asdf-vm/asdf/issues/415.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asdf-vm/asdf/issues/415#event-2055535637, or mute the thread https://github.com/notifications/unsubscribe-auth/Alv5DS5paFtKrLbXZ_ttXO3Ghske038Rks5u_9ysgaJpZM4ZZwOm .

zeroshree avatar Jan 06 '19 06:01 zeroshree