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

docker: update some dockerfiles #588

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions impls/ada.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,9 +11,6 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

Expand All @@ -22,4 +19,4 @@ WORKDIR /mal
##########################################################

# GNU Ada compiler
RUN apt-get -y install gnat-8
RUN apt-get -y install gnat libreadline-dev
7 changes: 2 additions & 5 deletions impls/ada/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,9 +11,6 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

Expand All @@ -22,4 +19,4 @@ WORKDIR /mal
##########################################################

# GNU Ada compiler
RUN apt-get -y install gnat-4.9
RUN apt-get -y install gnat
5 changes: 1 addition & 4 deletions impls/awk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,9 +11,6 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

Expand Down
5 changes: 1 addition & 4 deletions impls/bash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,9 +11,6 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

Expand Down
11 changes: 2 additions & 9 deletions impls/c.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:bionic
FROM ubuntu:20.04
MAINTAINER Duncan Watts <[email protected]>

##########################################################
Expand All @@ -11,18 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
#RUN apt-get -y install curl

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Install gcc
RUN apt-get -y install gcc

# Libraries needed for the C impl
RUN apt-get -y install libffi-dev libgc-dev libedit-dev
RUN apt-get -y install gcc libffi-dev libgc-dev libedit-dev
11 changes: 2 additions & 9 deletions impls/clojure/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -25,13 +25,7 @@ WORKDIR /mal
# Clojure (Java and lein)
#

RUN apt-get -y install openjdk-8-jdk

ADD https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein \
/usr/local/bin/lein
RUN chmod 0755 /usr/local/bin/lein
ENV LEIN_HOME /mal/.lein
ENV LEIN_JVM_OPTS -Duser.home=/mal
RUN apt-get -y install leiningen

#
# ClojureScript (Node and Lumo)
Expand All @@ -53,4 +47,3 @@ ENV NPM_CONFIG_CACHE /mal/.npm
#RUN npm install -g ffi lumo-cljs

ENV HOME=/mal

22 changes: 2 additions & 20 deletions impls/coffee/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,29 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# For building node modules
RUN apt-get -y install g++

# Add nodesource apt repo config for 10.x stable
RUN apt-get -y install gnupg
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -

# Install nodejs
RUN apt-get -y install nodejs

ENV NPM_CONFIG_CACHE /mal/.npm

# CoffeeScript specific
RUN npm install -g coffeescript
RUN touch /.coffee_history && chmod go+w /.coffee_history

RUN apt-get -y install coffeescript g++ libreadline-dev npm
9 changes: 2 additions & 7 deletions impls/elisp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:wily
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,16 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Emacs 24
RUN apt-get -y install emacs24-nox

RUN apt-get -y install emacs-nox
11 changes: 1 addition & 10 deletions impls/elixir/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:xenial
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,20 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Elixir
RUN apt-get install -y wget
RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
RUN dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update -y
RUN apt-get install -y esl-erlang
RUN apt-get install -y elixir
18 changes: 2 additions & 16 deletions impls/erlang/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,25 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Erlang R17 (so I can use maps)
RUN apt-get -y install build-essential libncurses5-dev libssl-dev
RUN cd /tmp && curl -O http://www.erlang.org/download/otp_src_17.5.tar.gz \
&& tar -C /tmp -zxf /tmp/otp_src_17.5.tar.gz \
&& cd /tmp/otp_src_17.5 && ./configure && make && make install \
&& rm -rf /tmp/otp_src_17.5 /tmp/otp_src_17.5.tar.gz
# Rebar for building the Erlang implementation
RUN apt-get -y install git sudo
RUN cd /tmp/ && git clone -q https://github.com/rebar/rebar.git \
&& cd /tmp/rebar && ./bootstrap && cp rebar /usr/local/bin \
&& rm -rf /tmp/rebar

RUN apt-get -y install erlang rebar
2 changes: 0 additions & 2 deletions impls/erlang/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
%% rebar configuration file (https://github.com/rebar/rebar)
%%

{require_otp_vsn, "17|18"}.

{erl_opts, [debug_info, fail_on_warning]}.

{clean_files, [
Expand Down
17 changes: 2 additions & 15 deletions impls/es6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,24 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# For building node modules
RUN apt-get -y install g++

# Add nodesource apt repo config for 10.x stable
RUN apt-get -y install gnupg
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -

# Install nodejs
RUN apt-get -y install nodejs

ENV NPM_CONFIG_CACHE /mal/.npm
RUN apt-get install -y g++ libreadline-dev npm
8 changes: 1 addition & 7 deletions impls/fsharp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,17 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Deps for Mono-based languages (C#, VB.Net)
RUN apt-get -y install mono-runtime mono-mcs mono-vbnc mono-devel

RUN apt-get -y install fsharp
9 changes: 2 additions & 7 deletions impls/gnu-smalltalk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:wily
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,16 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# picolisp
RUN apt-get -y install gnu-smalltalk

RUN apt-get -y install gnu-smalltalk libreadline-dev
11 changes: 2 additions & 9 deletions impls/go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:xenial
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,18 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Install g++ for any C/C++ based implementations
RUN apt-get -y install g++

RUN apt-get -y install pkg-config
RUN apt-get -y install golang
RUN apt-get -y install g++ golang libedit-dev pkg-config
11 changes: 1 addition & 10 deletions impls/groovy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:vivid
FROM ubuntu:20.04
MAINTAINER Joel Martin <[email protected]>

##########################################################
Expand All @@ -11,20 +11,11 @@ RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Java and Groovy
RUN apt-get -y install openjdk-7-jdk
#RUN apt-get -y install maven2
#ENV MAVEN_OPTS -Duser.home=/mal
RUN apt-get -y install ant

RUN apt-get -y install groovy
Loading