Skip to content

Commit

Permalink
Version 0.6.1
Browse files Browse the repository at this point in the history
Roswell was upgraded: 18.8.10.93 -> 18.10.10.95
Qlot was upgraded to b4b408b890347d94a4c31f8d5c3359472ae2931a where CL_SOURCE_REGISTRY variable is respected and extended.
ASDF was upgraded: 18.10.10.95 -> 3.3.2.10
  • Loading branch information
svetlyak40wt committed Nov 7, 2018
1 parent 6601978 commit b232aca
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 26 deletions.
13 changes: 13 additions & 0 deletions ChangeLog.rst
Expand Up @@ -2,6 +2,19 @@
ChangeLog
===========

0.6.1
=====

Now default command is ``ros run``.

0.6.0
=====

Roswell was upgraded: 18.8.10.93 -> 18.10.10.95
Qlot was upgraded to b4b408b890347d94a4c31f8d5c3359472ae2931a where
``CL_SOURCE_REGISTRY`` variable is respected and extended.
ASDF was upgraded: 18.10.10.95 -> 3.3.2.10

0.5.0
=====

Expand Down
8 changes: 5 additions & 3 deletions Dockerfile
Expand Up @@ -9,19 +9,19 @@ RUN apt-get update && apt-get install -y \
# https://github.com/roswell/roswell
RUN git clone https://github.com/roswell/roswell.git /roswell && \
cd /roswell && \
git checkout tags/v18.8.10.93
git checkout tags/v18.10.10.95
RUN cd /roswell && ./bootstrap && ./configure && make install
ENV PATH=/root/.roswell/bin:$PATH

# ставим свеженький Qlot
RUN ros install 40ants/qlot/freeze/5233f4d3bed81251e5357ab9f9e2ba5ab7af80f9
RUN ros install 40ants/qlot/freeze/b4b408b890347d94a4c31f8d5c3359472ae2931a

# Зафиксируем версию ASDF, чтобы во всех имплементациях она была одинакова
# и правильно работал package inferred system
#
# Какая версия последняя, можно посмотреть тут:
# https://gitlab.common-lisp.net/asdf/asdf
RUN ros install asdf/3.3.2.2
RUN ros install asdf/3.3.2.10

# Утилитка которая репортит версию Лиспа, и другую полезную для багрепортов инфу
RUN ros install 40ants/cl-info
Expand All @@ -38,6 +38,8 @@ WORKDIR /app

COPY install-dependencies install-dependencies.ros /usr/local/bin/

CMD ros run

# Последняя версия:
# https://ccl.clozure.com/download.html
FROM lisp-image-with-roswell AS lisp-image-with-ccl-bin
Expand Down
45 changes: 22 additions & 23 deletions README.rst
Expand Up @@ -4,10 +4,10 @@

This is a base lisp image for 40Ants projects.

Latest version of this image is **0.3.0**.
It includes `Qlot`_, `Roswell`_ (18.4.10.91), ASDF (3.3.2.2) and following Lisps:
Latest version of this image is **0.6.0**.
It includes `Qlot`_, `Roswell`_ (18.10.10.95), ASDF (3.3.2.10) and following Lisps:

* SBCL: 1.4.8
* SBCL: 1.4.11
* Clozure CL: 1.11.5

Image is based on LTS Ubuntu Trusty (16.04).
Expand All @@ -19,14 +19,29 @@ It is hosted on the Docker Hub. Choose appropriate version in the
How to use
==========

Inherit your image from base-lisp-image
---------------------------------------
Quick start
-----------

Start container for development::

docker run \
--rm -ti \
--name dev-lisp \
-p 4005:4005 \
-v `pwd`:/app \
40ants/base-lisp-image:latest-ccl-bin

And of cause you can use it as a base image in your own dockerfiles.


Inherit your own image from base-lisp-image
-------------------------------------------

Here is a minimal example:

.. code:: bash
FROM 40ants/base-lisp-image:latest-ccl
FROM 40ants/base-lisp-image:latest-ccl-bin
COPY qlfile qlfile.lock app-deps.asd /app/
RUN install-dependencies
Expand All @@ -37,23 +52,8 @@ Here is a minimal example:
CMD /app/entrypoint.sh
Or run image as is
------------------
This way you can use this image for deployment of your application.

Pull image::

docker pull 40ants/base-lisp-image

Start container for development::

docker run \
--rm -ti \
--name dev-lisp \
-p 4005:4005 \
-v `pwd`:/app \
40ants/base-lisp-image

And of cause you can use it as a base image in your own dockerfiles.

How to build a new image
========================
Expand All @@ -67,7 +67,6 @@ Ideas
=====

* Embed `SLY`_ to make it available out of the box.
* Start versioning the image.

.. _SLY: http://joaotavora.github.io/sly/#A-SLY-tour-for-SLIME-users
.. _Roswell: https://github.com/roswell/roswell
Expand Down

0 comments on commit b232aca

Please sign in to comment.