mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-19 10:15:02 +00:00
feat(paseo): preinstall the build-essential C toolchain
The image had no compiler at all -- gcc, g++, make, cc and ld were all missing -- so cgo, npm's node-gyp addons and Python C extensions could not build. Goes in the existing apt layer to keep a single apt-get update.
This commit is contained in:
1 parent
aa02fd2f5b
commit
92d24c8e64
2 files changed
+7
-1
No files matched your search
@@ -9,9 +9,14 @@ FROM ghcr.io/getpaseo/paseo:latest
|
||||
# --- system packages -------------------------------------------------------
|
||||
# Everyday shell tooling. git and curl are already in the base image; sudo is
|
||||
# not, despite Debian's base-passwd shipping an (empty) sudo group.
|
||||
#
|
||||
# build-essential is the C toolchain the language layers below assume but do
|
||||
# not ship: cgo, npm's node-gyp addons and Python C extensions all shell out to
|
||||
# gcc and make. Kept in this layer so there is only one apt-get update.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
less nano jq unzip zip lsof psmisc ugrep bfs zsh sudo \
|
||||
build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& usermod -aG sudo paseo
|
||||
|
||||
|
||||
Reference in new issue
Block a user