camilstaps/docker-clean
Dockerfiles for Clean
docker-clean
Dockerfiles for Clean.
These images are deprecated. It is recommended that you switch to
Isocyanoclean, with the
isocyanoclean/clean-nc
images. For legacy Clean, you can use the
forked images from
itasks/clean.
Available tags
2.4-stable(2011 stable release, without iTasks but with a development
version ofclmto support hierarchical module names)3.0-stable(2018 stable release, without iTasks)nightly(includes aninstall_clean.shscript which can be used to get a
nightly for a specific date` - see below how to derive a Dockerfile for this)latestis an alias for the latest stable release, currently3.0-stable
How to use
clm
docker run -v /my/.../directory:/usr/src/app camilstaps/clean clm MainModuleDeriving a new Dockerfile
This builds a docker image in which MainModule is built and then run.
FROM camilstaps/clean:2.4-stable
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
RUN clm MainModule -o MainModule
CMD ["./MainModule"]Deriving a new Dockerfile with a nightly
This builds a docker image in which MainModule is built and then run.
By combining the [un]install_clean.sh and the clm calls in one RUN
command, we save space in the Docker cache.
FROM camilstaps/clean:nightly
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
RUN install_clean.sh bundle-complete 2017-10-03 &&\
clm MainModule -o MainModule &&\
uninstall_clean.sh
CMD ["./MainModule"]Source code
github.com/camilstaps/docker-clean
Docker Cloud
cloud.docker.com/repository/docker/camilstaps/clean
Building new images
To build new images, the following steps should be performed:
docker build --pull --no-cache -t camilstaps/clean:base base
docker build -t camilstaps/clean:2.4-stable 2.4-stable
docker build -t camilstaps/clean:3.0-stable 3.0-stable
docker build -t camilstaps/clean:nightly nightly
docker tag camilstaps/clean:3.0-stable camilstaps/cleanOptionally, push these to the Docker Cloud:
docker push camilstaps/clean
docker push camilstaps/clean:2.4-stable
docker push camilstaps/clean:3.0-stable
docker push camilstaps/clean:nightlyDo not push camilstaps/clean:base. It is only meant as a generic base image
for the other images.