Update dockerfiles for chicken 5.3

master
Kai Klingenberg 3 years ago
parent 4a32b9576d
commit 4766942745

@ -1,4 +1,4 @@
Copyright 2020 Kai Klingenberg Copyright 2021 Kai Klingenberg
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are modification, are permitted provided that the following conditions are

@ -7,10 +7,10 @@ provided, used to build projects in an opinionated, structured way.
You may pick a flavour built on top of popular linux distros: You may pick a flavour built on top of popular linux distros:
```bash ```bash
docker pull plotter/chicken-scheme:5.2.0-alpine docker pull plotter/chicken-scheme:5.3.0-alpine
docker pull plotter/chicken-scheme:5.2.0-debian docker pull plotter/chicken-scheme:5.3.0-debian
docker pull plotter/chicken-scheme:5.2.0-ubuntu docker pull plotter/chicken-scheme:5.3.0-ubuntu
docker pull plotter/chicken-scheme:5.2.0-centos docker pull plotter/chicken-scheme:5.3.0-centos
``` ```
## How to use these images ## How to use these images
@ -26,7 +26,7 @@ For truly static builds, prefer the `alpine` base image and set the
proper compiler and linker flags: proper compiler and linker flags:
```dockerfile ```dockerfile
FROM plotter/chicken-scheme:5.2.0-alpine FROM plotter/chicken-scheme:5.3.0-alpine
WORKDIR /src WORKDIR /src
COPY . . COPY . .
RUN csc -static -L -static -L -no-pie main.scm RUN csc -static -L -static -L -no-pie main.scm
@ -37,7 +37,7 @@ You may also choose to build a barebones `scratch` image containing
only the desired binary: only the desired binary:
```dockerfile ```dockerfile
FROM plotter/chicken-scheme:5.2.0-alpine as build FROM plotter/chicken-scheme:5.3.0-alpine as build
WORKDIR /src WORKDIR /src
COPY . . COPY . .
RUN csc -static -L -static -L -no-pie main.scm RUN csc -static -L -static -L -no-pie main.scm

@ -1,6 +1,6 @@
FROM alpine:3.12 FROM alpine:3.15
ENV CHICKEN_VERSION 5.2.0 ENV CHICKEN_VERSION 5.3.0
ENV PLATFORM linux ENV PLATFORM linux
RUN set -eux; \ RUN set -eux; \

@ -1,6 +1,6 @@
FROM centos:8 FROM centos:8
ENV CHICKEN_VERSION 5.2.0 ENV CHICKEN_VERSION 5.3.0
ENV PLATFORM linux ENV PLATFORM linux
RUN set -eux; \ RUN set -eux; \

@ -1,6 +1,6 @@
FROM debian:buster FROM debian:bullseye
ENV CHICKEN_VERSION 5.2.0 ENV CHICKEN_VERSION 5.3.0
ENV PLATFORM linux ENV PLATFORM linux
RUN set -eux; \ RUN set -eux; \

@ -1,6 +1,6 @@
FROM ubuntu:focal FROM ubuntu:focal
ENV CHICKEN_VERSION 5.2.0 ENV CHICKEN_VERSION 5.3.0
ENV PLATFORM linux ENV PLATFORM linux
RUN set -eux; \ RUN set -eux; \

Loading…
Cancel
Save