Skip to content

Commit 5d4d48d

Browse files
authored
Merge pull request #73 from singularityhub/v3.4.1
Updating for v3.4.1
2 parents 65a6528 + b709a3b commit 5d4d48d

File tree

4 files changed

+30
-21
lines changed

4 files changed

+30
-21
lines changed

.circleci/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ dockerdeploy: &dockerdeploy
6060
if [[ -n "$DOCKER_PASS" ]]; then
6161
docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}" quay.io
6262
docker push ${CONTAINER_NAME}:${DOCKER_TAG}
63-
echo "Tagging latest image..."
64-
docker tag ${CONTAINER_NAME}:${DOCKER_TAG} ${CONTAINER_NAME}:latest
65-
docker push ${CONTAINER_NAME}:latest
63+
64+
if [[ "${CIRCLE_BRANCH}" == "master" ]]; then
65+
echo "Tagging latest image..."
66+
docker tag ${CONTAINER_NAME}:${DOCKER_TAG} ${CONTAINER_NAME}:latest
67+
docker push ${CONTAINER_NAME}:latest
68+
fi
6669
fi
6770
6871
dockerbuild: &dockerbuild

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN apk add --no-cache linux-headers build-base openssl-dev util-linux util-linu
3434
RUN mkdir -p /usr/local/var/singularity/mnt && \
3535
mkdir -p $GOPATH/src/github.com/sylabs && \
3636
cd $GOPATH/src/github.com/sylabs && \
37-
wget -qO- https://github.com/sylabs/singularity/releases/download/v3.4.0/singularity-3.4.0.tar.gz | \
37+
wget -qO- https://github.com/sylabs/singularity/releases/download/v3.4.1/singularity-3.4.1.tar.gz | \
3838
tar xzv && \
3939
cd singularity && \
4040
./mconfig -p /usr/local/singularity && \

README.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<img src="img/logo.png" alt="https://www.sylabs.io/guides/latest/user-guide" data-canonical-src="https://www.sylabs.io/guides/latest/user-guide" width="200" height="200">
44

5-
[![CircleCI](https://circleci.com/gh/singularityware/docker2singularity.svg?style=svg)](https://circleci.com/gh/singularityware/docker2singularity)
5+
[![CircleCI](https://circleci.com/gh/singularityhub/docker2singularity.svg?style=svg)](https://circleci.com/gh/singularityhub/docker2singularity)
66

77
Are you developing Docker images and you would like to run them on an HPC cluster
88
supporting [Singularity](https://www.sylabs.io/guides/2.5.1/user-guide/introduction.html)?
@@ -15,7 +15,7 @@ The containers are also available for you on [Docker Hub](https://hub.docker.com
1515
## Usage
1616

1717
```bash
18-
docker run singularityware/docker2singularity
18+
$ docker run quay.io/singularity/docker2singularity
1919
USAGE: docker2singularity [-m "/mount_point1 /mount_point2"] [options] docker_image_name
2020
OPTIONS:
2121

@@ -31,7 +31,7 @@ OPTIONS:
3131

3232
**Image Format**
3333

34-
- `squashfs` (no arguments specified) gives you a squashfs (`*.simg`) image. This is a compressed, reliable, and read only format that is recommended for production images. Squashfs support was added to Singularity proper in [January of 2017](https://github.com/singularityware/singularity/commit/0cf00d1251ff276d5b9b7a0e4eadb783a45a6b65#diff-8405d9d311d83f009adff55c3deb112c) and thus available as early as the 2.2.1 release.
34+
- `squashfs` (no arguments specified) gives you a squashfs (`*.simg`) image. This is a compressed, reliable, and read only format that is recommended for production images. Squashfs support was added to Singularity proper in [January of 2017](https://github.com/sylabs/singularity/commit/0cf00d1251ff276d5b9b7a0e4eadb783a45a6b65#diff-8405d9d311d83f009adff55c3deb112c) and thus available as early as the 2.2.1 release.
3535
- `sandbox` (`-f`) builds your image into a sandbox **folder**. This is ideal for development, as it will produce a working image in a folder on your system.
3636
- `ext3` (`-w`) builds an older format (ext3) image (`*.img`). This format is not recommended for production images as we have observed degradation of the images over time, and they tend to be upwards of 1.5x to 2x the size of squashfs.
3737

@@ -50,12 +50,18 @@ The last argument (without a letter) is the name of the docker image, as you wou
5050

5151
If you want a legacy version, see the following other branches:
5252

53-
- [v2.3](https://github.com/singularityware/docker2singularity/tree/v2.3): Version 2.3 of Singularity. The image format is ext3.
54-
- [v2.4](https://github.com/singularityware/docker2singularity/tree/v2.4): Version 2.4 of Singularity. The default image format is squashfs.
55-
- [v2.5](https://github.com/singularityware/docker2singularity/tree/v2.5): Version 2.5.1 of Singularity. Same as 2.4 but with many bug fixes.
56-
- [v2.6](https://github.com/singularityware/docker2singularity/tree/v2.6): Version 2.6 of Singularity.
53+
- [v3.4.0](https://github.com/singularityhub/docker2singularity/tree/v3.3.0): Version 3.4.0 of Singularity.
54+
- [v3.3.0](https://github.com/singularityhub/docker2singularity/tree/v3.3.0): Version 3.3.0 of Singularity.
55+
- [v3.2.1](https://github.com/singularityhub/docker2singularity/tree/v3.2.1): Version 3.2.1 of Singularity.
56+
- [v3.1](https://github.com/singularityhub/docker2singularity/tree/v3.1): Version 3.1 of Singularity.
57+
- [v2.6](https://github.com/singularityhub/docker2singularity/tree/v2.6): Version 2.6 of Singularity.
58+
- [v2.5](https://github.com/singularityhub/docker2singularity/tree/v2.5): Version 2.5.1 of Singularity. Same as 2.4 but
59+
- [v2.4](https://github.com/singularityhub/docker2singularity/tree/v2.4): Version 2.4 of Singularity. The default image format is squashfs.
60+
- [v2.3](https://github.com/singularityhub/docker2singularity/tree/v2.3): Version 2.3 of Singularity. The image format is ext3.
61+
with many bug fixes.
5762

58-
Intermediate versions built on [Docker Hub](https://hub.docker.com/r/singularityware/docker2singularity/tags/). A tag with prefix `v` corresponds to a release of the Singularity software, while the others are in reference to releases of Docker. Previously used [scripts](https://github.com/singularityware/docker2singularity/tree/master/scripts), including environment and action files, are provided in this repository for reference.
63+
Containers were previous built on [Docker Hub](https://hub.docker.com/r/singularityware/docker2singularity/tags/) and
64+
now are provided on [quay.io](https://quay.io/repository/singularity/docker2singularity?tab=tags). A tag with prefix `v` corresponds to a release of the Singularity software, while the others are in reference to releases of Docker. Previously used [scripts](https://github.com/singularityhub/docker2singularity/tree/master/scripts), including environment and action files, are provided in this repository for reference.
5965

6066
## Requirements
6167

@@ -80,7 +86,7 @@ And here is the command to run. Notice that I am mounting the path `/tmp/test` t
8086
$ docker run -v /var/run/docker.sock:/var/run/docker.sock \
8187
-v /tmp/test:/output \
8288
--privileged -t --rm \
83-
singularityware/docker2singularity \
89+
quay.io/singularity/docker2singularity \
8490
ubuntu:14.04
8591

8692
Image Format: squashfs
@@ -144,7 +150,7 @@ Added for version 2.5.1, you can specify the name of your container with the `-n
144150
docker run -v /var/run/docker.sock:/var/run/docker.sock \
145151
-v /tmp/test:/output \
146152
--privileged -t --rm \
147-
singularityware/docker2singularity \
153+
quay.io/singularity/docker2singularity \
148154
--name meatballs ubuntu:14.04
149155

150156
...
@@ -193,7 +199,7 @@ A sandbox image is a folder that is ideal for development. You can view it on yo
193199
docker run -v /var/run/docker.sock:/var/run/docker.sock \
194200
-v /host/path/change/me:/output \
195201
--privileged -t --rm \
196-
singularityware/docker2singularity \
202+
quay.io/singularity/docker2singularity \
197203
-f \
198204
ubuntu:14.04
199205
```
@@ -210,7 +216,7 @@ You can build a legacy ext3 image (with `--writable`) with the `-w` flag. This i
210216
docker run -v /var/run/docker.sock:/var/run/docker.sock \
211217
-v /host/path/change/me:/output \
212218
--privileged -t --rm \
213-
singularityware/docker2singularity \
219+
quay.io/singularity/docker2singularity \
214220
-w \
215221
ubuntu:14.04
216222
```
@@ -222,7 +228,7 @@ sudo singularity build ext3.img production.simg
222228

223229
### Contributed Examples
224230

225-
The following are a list of brief examples and tutorials generated by the Singularity community for using **docker2singularity**. If you have an example of your own, please [let us know](https://www.github.com/singularityware/docker2singularity/issues)!
231+
The following are a list of brief examples and tutorials generated by the Singularity community for using **docker2singularity**. If you have an example of your own, please [let us know](https://www.github.com/singularityhub/docker2singularity/issues)!
226232

227233
- [docker2singularity-demo](https://github.com/stevekm/docker2singularity-demo): an example of using docker2singularity on MacOS and using Vagrant to test the output Singularity image, complete with notes and a nice Makefile.
228234

@@ -267,7 +273,7 @@ If you are getting `WARNING: Non existant bind point (directory) in container: '
267273
-v /var/run/docker.sock:/var/run/docker.sock \
268274
-v D:\host\path\where\to\output\singularity\image:/output \
269275
--privileged -t --rm \
270-
singularityware/docker2singularity \
276+
quay.io/singularity/docker2singularity \
271277
-m "/shared_fs /custom_mountpoint2" \
272278
ubuntu:14.04
273279
```
@@ -281,7 +287,7 @@ to be correct.
281287

282288
```bash
283289
VERSION=$(cat VERSION)
284-
image="singularityware/docker2singularity:${VERSION}"
290+
image="quay.io/singularity/docker2singularity:${VERSION}"
285291
docker build -t ${image} .
286292
```
287293

@@ -308,5 +314,5 @@ Don't forget to read the [CONTRIBUTING.md](.github/CONTRIBUTING.md) along with t
308314

309315
This work is heavily based on the `docker2singularity` work done by [vsoch](https://github.com/vsoch)
310316
and [gmkurtzer](https://github.com/gmkurtzer). The original record of the work can be read about
311-
in [this commit](https://github.com/singularityware/docker2singularity/commit/d174cadefd90f77f302f4bef5a8cd089eb2da2e4).
317+
in [this commit](https://github.com/singularityhub/docker2singularity/commit/d174cadefd90f77f302f4bef5a8cd089eb2da2e4).
312318
Thank you kindly to all the [contributors](.github/AUTHORS.md), and please open an issue if you need help.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.0
1+
3.4.1

0 commit comments

Comments
 (0)