logspout: exec: "gcc": executable file not found in $PATH

I am building a custom image and getting the following gcc error:

docker build -t logspout-test .                                                                                                                 
Sending build context to Docker daemon 4.096 kB
Step 1 : FROM gliderlabs/logspout:master
# Executing 3 build triggers...
Step 1 : COPY ./build.sh /src/build.sh
Step 1 : COPY ./modules.go /src/modules.go
Step 1 : RUN cd /src && ./build.sh "$(cat VERSION)-custom"
 ---> Running in c4374bf327f6
fetch http://alpine.gliderlabs.com/alpine/v3.3/main/x86_64/APKINDEX.tar.gz
fetch http://alpine.gliderlabs.com/alpine/v3.3/community/x86_64/APKINDEX.tar.gz
(1/18) Installing openssl (1.0.2h-r1)
(2/18) Installing ca-certificates (20160104-r2)
(3/18) Installing libssh2 (1.6.0-r1)
(4/18) Installing curl (7.49.1-r1)
(5/18) Installing expat (2.1.1-r1)
(6/18) Installing pcre (8.38-r1)
(7/18) Installing git (2.6.6-r0)
(8/18) Installing go (1.5.4-r0)
(9/18) Installing libbz2 (1.0.6-r4)
(10/18) Installing libffi (3.2.1-r2)
(11/18) Installing gdbm (1.11-r1)
(12/18) Installing ncurses-terminfo-base (6.0-r6)
(13/18) Installing ncurses-terminfo (6.0-r6)
(14/18) Installing ncurses-libs (6.0-r6)
(15/18) Installing readline (6.3.008-r4)
(16/18) Installing sqlite-libs (3.9.2-r0)
(17/18) Installing python (2.7.12-r0)
(18/18) Installing mercurial (3.7.3-r1)
Executing busybox-1.24.2-r0.trigger
Executing ca-certificates-20160104-r2.trigger
OK: 250 MiB in 29 packages
# github.com/opencontainers/runc/libcontainer/system
exec: "gcc": executable file not found in $PATH
The command '/bin/sh -c cd /src && ./build.sh "$(cat VERSION)-custom"' returned a non-zero code: 2

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 28 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Alright I can confirm this, please don’t add a 👍 unless you have a fix for the problem.