forked from dockcross/dockcross
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web-wasm: Bump Emscripten to 1.38.24
The base image moved from jessie to stretch, so update sources and packages. Also update gosu binary install to support gpg2 and work around: gpg: cannot open '/dev/tty': No such device or address as suggested here: nodejs/docker-node#922
- Loading branch information
Showing
2 changed files
with
57 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,53 @@ MAINTAINER Matt McCormick "[email protected]" | |
# See https://github.com/asRIA/emscripten-docker/blob/master/Dockerfile.in#L4 | ||
RUN rm /bin/sh && ln -s /bin/dash /bin/sh | ||
|
||
#include "common.debian" | ||
COPY imagefiles/install-gosu-binary.sh /buildscripts/ | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG REPO=http://cdn-fastly.deb.debian.org | ||
|
||
RUN \ | ||
bash -c "echo \"deb $REPO/debian stretch main contrib non-free\" > /etc/apt/sources.list" && \ | ||
bash -c "echo \"deb $REPO/debian stretch-updates main contrib non-free\" >> /etc/apt/sources.list" && \ | ||
bash -c "echo \"deb $REPO/debian-security stretch/updates main\" >> /etc/apt/sources.list" && \ | ||
bash -c "echo \"deb http://ftp.debian.org/debian stretch-backports main\" >> /etc/apt/sources.list" && \ | ||
apt-get update --yes && \ | ||
apt-get install --no-install-recommends --yes \ | ||
automake \ | ||
autogen \ | ||
bash \ | ||
build-essential \ | ||
bc \ | ||
bzip2 \ | ||
ca-certificates \ | ||
curl \ | ||
dirmngr \ | ||
file \ | ||
gettext \ | ||
gnupg2 \ | ||
gzip \ | ||
zip \ | ||
make \ | ||
ncurses-dev \ | ||
pkg-config \ | ||
libtool \ | ||
python \ | ||
python-pip \ | ||
rsync \ | ||
sed \ | ||
ssh \ | ||
bison \ | ||
flex \ | ||
tar \ | ||
pax \ | ||
vim \ | ||
wget \ | ||
xz-utils \ | ||
zlib1g-dev \ | ||
&& \ | ||
apt-get clean --yes && \ | ||
/buildscripts/install-gosu-binary.sh && \ | ||
rm -rf /buildscripts | ||
|
||
#include "common.docker" | ||
|
||
|