Skip to content

Commit c3a03f1

Browse files
glbrnttMrMage
authored andcommitted
Add libnghttp2 depdendency to Docker image (#338) (#344)
Advance swift-nio-http2 revision to include support for nghttp2 packaged with Ubuntu 16.04.
1 parent 54659b8 commit c3a03f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ENV PROTOC_VERSION=3.5.1
55

66
# Install a few needed packages that aren't in swiftdocker/swift
77
RUN apt-get -q update \
8-
&& apt-get -q install -y unzip \
8+
&& apt-get -q install -y unzip libnghttp2-dev \
99
&& rm -r /var/lib/apt/lists/*
1010

1111
# Install protoc

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var packageDependencies: [Package.Dependency] = [
2323
.package(url: "https://github.com/apple/swift-nio-zlib-support.git", .upToNextMinor(from: "1.0.0")),
2424
.package(url: "https://github.com/apple/swift-nio.git", .upToNextMinor(from: "1.11.0")),
2525
.package(url: "https://github.com/apple/swift-nio-nghttp2-support.git", .upToNextMinor(from: "1.0.0")),
26-
.package(url: "https://github.com/apple/swift-nio-http2.git", .revision("38b8235868e1e6277c420b73ac5cfdfa66382a85"))
26+
.package(url: "https://github.com/apple/swift-nio-http2.git", .revision("dd9339e6310ad8537a271f3ff60a4f3976ca8e4d"))
2727
]
2828

2929
var cGRPCDependencies: [Target.Dependency] = []
@@ -32,7 +32,7 @@ var cGRPCDependencies: [Target.Dependency] = []
3232
let isLinux = true
3333
#else
3434
let isLinux = false
35-
#endif
35+
#endif
3636

3737
// On Linux, Foundation links with openssl, so we'll need to use that instead of BoringSSL.
3838
// See https://github.com/apple/swift-nio-ssl/issues/16#issuecomment-392705505 for details.

0 commit comments

Comments
 (0)