-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Packagefile
.package(url: "https://github.com/twostraws/SwiftGD.git", from: "2.5.0")
.product(name: "SwiftGD", package: "SwiftGD")
Dockerfile
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
&& apt-get -q update
&& apt-get -q dist-upgrade -y
&& apt-get -q install -y
ca-certificates
tzdata
libgd-dev
&& rm -r /var/lib/apt/lists/*
I can see in the logs that libgd-dev is properly installed but building doesn't work:
#0 8.035 Building for production...
#0 9.030 remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/918] Compiling SwiftSgml Attribute.swift
#0 14.19 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/920] Compiling SwiftGD Color.swift
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86 ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with include; use "quotes" instead
#0 14.86 #include <gd.h>
#0 14.86 ^
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86 ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: note: in file included from /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:
#0 14.86 #include <gd.h>
#0 14.86 ^
etc.