File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ RUN groupadd -r swift-dev && useradd -r -g swift-dev swift-dev
40
40
41
41
# Setup Environment Variables
42
42
43
- ENV REVISION="b6039e2 " \
43
+ ENV REVISION="7e72a4c " \
44
44
OUTPUT_DIR="/swift" \
45
45
WORK_DIR="/swift-dev"
46
46
47
47
ENV SRC_DIR=${WORK_DIR}/swift \
48
- TOOLCHAIN_VERSION="swift-3.0.2-RELEASE -${REVISION}-with-sourcekit"
48
+ TOOLCHAIN_VERSION="swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a -${REVISION}-with-sourcekit"
49
49
ENV ARCHIVE="${TOOLCHAIN_VERSION}.tar.gz"
50
50
ENV SWIFT_INSTALL_DIR="${WORK_DIR}/swift-nightly-install" \
51
51
SWIFT_INSTALLABLE_PACKAGE="${OUTPUT_DIR}/${ARCHIVE}"
@@ -65,10 +65,6 @@ RUN sudo --user=swift-dev git clone https://github.com/norio-nomura/swift-dev.gi
65
65
66
66
# Build Swift installer package at ${SWIFT_INSTALLABLE_PACKAGE}
67
67
cd ${SRC_DIR} && \
68
- sudo --user=swift-dev utils/build-script \
69
- --preset-file="${WORK_DIR}/build-presets-for-sourcekit-linux.ini" \
70
- --preset="buildbot_linux_libdispatch" \
71
- install_destdir="${SWIFT_INSTALL_DIR}" && \
72
68
sudo --user=swift-dev utils/build-script \
73
69
--preset-file="${WORK_DIR}/build-presets-for-sourcekit-linux.ini" \
74
70
--preset="buildbot_linux" \
Original file line number Diff line number Diff line change 2
2
3
3
## Build ` sourcekit-builder ` image
4
4
``` console
5
- docker build -t sourcekit-builder:302 https://github.com/norio-nomura/docker-sourcekit-builder.git
5
+ docker build -t sourcekit-builder:3120170131a https://github.com/norio-nomura/docker-sourcekit-builder.git
6
6
```
7
7
8
8
## Build ` sourcekit ` image using context created by ` sourcekit-builder `
9
9
``` console
10
- docker run --rm sourcekit-builder:302 context | docker build -t norionomura/sourcekit:302 -
10
+ docker run --rm sourcekit-builder:3120170131a context | docker build -t norionomura/sourcekit:3120170131a -
11
11
```
12
12
13
13
## Extract Installer Package from ` sourcekit-builder `
14
14
``` console
15
- docker run --rm sourcekit-builder:302 context|tar xv - "*.tar.gz"
16
- x ./swift-3.0.2-RELEASE -<hash of commit in swift-dev>-with-sourcekit.tar.gz
15
+ docker run --rm sourcekit-builder:3120170131a context|tar xv - "*.tar.gz"
16
+ x ./swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a -<hash of commit in swift-dev>-with-sourcekit.tar.gz
17
17
```
You can’t perform that action at this time.
0 commit comments