Skip to content

Commit

Permalink
Merge pull request #33 from Retropikzel/cyclone-bookworm
Browse files Browse the repository at this point in the history
Update Cyclone to version 0.36.0 and Debian to bookworm
  • Loading branch information
Retropikzel authored Sep 29, 2024
2 parents 2d22b36 + c4b69ae commit 1da128a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions implementations/cyclone/0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
# -*- mode: dockerfile; coding: utf-8 -*-

# Need to use Debian sid because libck is not available in bullseye.

FROM debian:sid-slim AS build
FROM debian:bookworm-slim AS build
RUN apt-get update && apt-get -y --no-install-recommends install \
build-essential \
libck-dev \
libtommath-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /build
COPY checksum checksum
ADD https://github.com/justinethier/cyclone-bootstrap/archive/v0.25.tar.gz cyclone-bootstrap.tar.gz
ADD https://github.com/justinethier/cyclone-bootstrap/archive/refs/tags/v0.36.0.tar.gz cyclone-bootstrap.tar.gz
RUN sha256sum cyclone-bootstrap.tar.gz && sha256sum -c checksum
RUN mkdir cyclone && tar -C cyclone --strip-components 1 -xf cyclone-bootstrap.tar.gz
WORKDIR cyclone
RUN make
RUN make install
RUN make test

FROM debian:sid-slim
FROM debian:bookworm-slim
RUN apt-get update && apt-get -y --no-install-recommends install \
gcc libc-dev libck0 libck-dev libtommath1 libtommath-dev \
&& rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion implementations/cyclone/0/checksum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
84309b942edea57addb9a58b912a69ae7c9083930d489e9d190dae4603ffebc4 cyclone-bootstrap.tar.gz
6b984f4cc336993306cfc3e6bd9e82f4fc1a008f3592d4e942b5de182f5fac20 cyclone-bootstrap.tar.gz
2 changes: 1 addition & 1 deletion implementations/cyclone/head/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN make
RUN make install
RUN make test

FROM debian:sid-slim
FROM debian:bookworm-slim
RUN apt-get update && apt-get -y --no-install-recommends install \
gcc libc-dev libck0 libck-dev libtommath1 libtommath-dev \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 1da128a

Please sign in to comment.