Sign inSign up

camilstaps/clean

By camilstaps

•Updated almost 5 years ago

Clean is a general purpose, state-of-the-art, pure and lazy functional programming language.

Image
0

10K+

camilstaps/clean repository overview

⁠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 of clm to support hierarchical module names)
  • 3.0-stable (2018 stable release, without iTasks)
  • nightly (includes an install_clean.sh script which can be used to get a nightly for a specific date` - see below how to derive a Dockerfile for this)
  • latest is an alias for the latest stable release, currently 3.0-stable

camilstaps/clean:base is a bootstrap container and should not be used separately.

⁠How to use

⁠clm
docker run -v /my/.../directory:/usr/src/app camilstaps/clean clm MainModule
⁠Deriving 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⁠

Tag summary

Content type

Image

Digest

Size

154.6 MB

Last updated

almost 5 years ago

docker pull camilstaps/clean