Last active
April 30, 2017 15:33
-
-
Save Vaguery/406565053f79eb4ad786353f4cbd3cb2 to your computer and use it in GitHub Desktop.
Building a clojure dev machine on a pristine Ubuntu 16.04 Docker image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash | |
apt-get update | |
# updates package list | |
apt-get install default-jre | |
apt-get install git | |
apt-get install wget | |
# oh yeah I need that too | |
# via http://stackoverflow.com/questions/25838169/installing-leiningen-2-on-ubuntu : | |
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein | |
chmod +x lein | |
mv lein /usr/local/bin | |
## download klapaucius | |
git clone https://github.com/Vaguery/klapaucius.git | |
cd klapaucius | |
Notes on the bug-hunt:
- install
jdk
andlein
as normal above lein repl
(hitENTER
to get pastroot
warning)- paste this into REPL prompt(s):
(def arg (* 2 Math/E)) (Math/log arg) ;; on Intel machines: 1.6931471805599452 (assert (= (Math/log arg) 1.6931471805599452)) ;; fails, because on ARMv8 it doesn't equal that
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: this leaves a bunch of complaints (since you're
root
in a Docker image) to setLEIN_ROOT
. Whatever.