Skip to content

Commit

Permalink
Update to swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a
Browse files Browse the repository at this point in the history
  • Loading branch information
norio-nomura committed Feb 4, 2017
1 parent 6f7e8c1 commit 629622e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ RUN groupadd -r swift-dev && useradd -r -g swift-dev swift-dev

# Setup Environment Variables

ENV REVISION="b6039e2" \
ENV REVISION="7e72a4c" \
OUTPUT_DIR="/swift" \
WORK_DIR="/swift-dev"

ENV SRC_DIR=${WORK_DIR}/swift \
TOOLCHAIN_VERSION="swift-3.0.2-RELEASE-${REVISION}-with-sourcekit"
TOOLCHAIN_VERSION="swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a-${REVISION}-with-sourcekit"
ENV ARCHIVE="${TOOLCHAIN_VERSION}.tar.gz"
ENV SWIFT_INSTALL_DIR="${WORK_DIR}/swift-nightly-install" \
SWIFT_INSTALLABLE_PACKAGE="${OUTPUT_DIR}/${ARCHIVE}"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

## Build `sourcekit-builder` image
```console
docker build -t sourcekit-builder:302 https://github.com/norio-nomura/docker-sourcekit-builder.git
docker build -t sourcekit-builder:3120170131a https://github.com/norio-nomura/docker-sourcekit-builder.git
```

## Build `sourcekit` image using context created by `sourcekit-builder`
```console
docker run --rm sourcekit-builder:302 context | docker build -t norionomura/sourcekit:302 -
docker run --rm sourcekit-builder:3120170131a context | docker build -t norionomura/sourcekit:3120170131a -
```

## Extract Installer Package from `sourcekit-builder`
```console
docker run --rm sourcekit-builder:302 context|tar xv - "*.tar.gz"
x ./swift-3.0.2-RELEASE-<hash of commit in swift-dev>-with-sourcekit.tar.gz
docker run --rm sourcekit-builder:3120170131a context|tar xv - "*.tar.gz"
x ./swift-3.1-DEVELOPMENT-SNAPSHOT-2017-01-31-a-<hash of commit in swift-dev>-with-sourcekit.tar.gz
```

0 comments on commit 629622e

Please sign in to comment.