Skip to content

update docker setup #4188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Utilities/Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ ENV LANGUAGE en_US.UTF-8
#---------------------

RUN apt-get update && apt-get install -y \
sqlite3 \
git \
libsqlite3-dev \
libncurses5-dev
libncurses5-dev \
sqlite3 \
zip

# Bootstrap script dependencies
#------------------------------
Expand Down
37 changes: 37 additions & 0 deletions Utilities/Docker/docker-compose.2004.56.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2021 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors

version: "3"

services:

runtime-setup:
image: swift-package-manager:20.04-5.6
build:
args:
ubuntu_version: "focal"
swift_version: "5.6"
base_image: "swiftlang/swift:nightly-5.6-focal"

build:
image: swift-package-manager:20.04-5.6

test:
image: swift-package-manager:20.04-5.6

bootstrap-clean:
image: swift-package-manager:20.04-5.6

bootstrap-build:
image: swift-package-manager:20.04-5.6

bootstrap-test:
image: swift-package-manager:20.04-5.6

shell:
image: swift-package-manager:20.04-5.6
2 changes: 2 additions & 0 deletions Utilities/Docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ services:
- ../../../swift-driver:/code/swift-driver:z
- ../../../swift-crypto:/code/swift-crypto:z
- ../../../swift-llbuild:/code/llbuild:z
- ../../../swift-system:/code/swift-system:z
- ../../../swift-collections:/code/swift-collections:z
working_dir: /code/swift-package-manager
cap_drop:
- CAP_NET_RAW
Expand Down