Install some packages into a Docker image
This commit is contained in:
parent
ff86d1f06d
commit
5e3a4a44fb
|
@ -0,0 +1,4 @@
|
|||
FROM ubuntu:rolling
|
||||
|
||||
COPY scripts/docker-install.bash /tmp/
|
||||
RUN /tmp/docker-install.bash
|
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
packages="
|
||||
|
||||
# Handy utilities
|
||||
bsdmainutils
|
||||
curl
|
||||
emacs-nox
|
||||
git
|
||||
make
|
||||
nano
|
||||
vim
|
||||
wget
|
||||
|
||||
# C/C++
|
||||
clang
|
||||
|
||||
# Haskell
|
||||
cabal-install
|
||||
ghc
|
||||
|
||||
# Node.js
|
||||
nodejs
|
||||
npm
|
||||
|
||||
# Python
|
||||
python3
|
||||
python3-pip
|
||||
python3-venv
|
||||
|
||||
"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
apt-get install -y $(grep -v "^#" <<< "$packages")
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
rm "$0"
|
Loading…
Reference in New Issue