Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 51 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ on:
pull_request:
branches: [main]
schedule:
- cron: 0 0 * * 0
- cron: "0 0 * * 0"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
version: [3.8, 3.7, 3.6]
version: ["3.8", "3.7", "3.6"]
image: [glacier2, icegridregistry, icegridnode, icestorm]
fail-fast: false

runs-on: ubuntu-latest

Expand All @@ -23,4 +28,47 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
zeroc/${{ matrix.image }}
ghcr.io/zeroc-ice/${{ matrix.image }}
tags: |
type=raw,value=${{ matrix.version }}
type=raw,value=latest,enable=${{ matrix.version == '3.8' }}

- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
with:
context: ${{ matrix.version }}/${{ matrix.image }}
push: ${{ github.event_name != 'pull_request' }}
platforms: ${{ matrix.version == '3.6' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
7 changes: 7 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"no-duplicate-heading": {
"siblings_only": true
},
"line-length": false,
"single-h1": false
}
6 changes: 2 additions & 4 deletions 3.6/glacier2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ FROM ubuntu:16.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG GLACIER2_VERSION=3.6.5

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 5E6DA83306132997 \
&& echo "deb http://download.zeroc.com/Ice/3.6/ubuntu16.04 stable main" >> /etc/apt/sources.list.d/ice.list \
&& echo "deb http://download.zeroc.com/ice/3.6/ubuntu16.04 stable main" >> /etc/apt/sources.list.d/ice.list \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-glacier2=${GLACIER2_VERSION}-* \
zeroc-glacier2 \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 4063 4064
Expand Down
8 changes: 3 additions & 5 deletions 3.6/icegridnode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ FROM ubuntu:16.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG ICEGRID_VERSION=3.6.5

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 5E6DA83306132997 \
&& echo "deb http://download.zeroc.com/Ice/3.6/ubuntu16.04 stable main" >> /etc/apt/sources.list.d/ice.list \
&& echo "deb http://download.zeroc.com/ice/3.6/ubuntu16.04 stable main" >> /etc/apt/sources.list.d/ice.list \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-icegrid=${ICEGRID_VERSION}-* \
zeroc-icegrid \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 4061 4062
EXPOSE 4061

VOLUME ["/var/lib/ice/icegrid"]

Expand Down
6 changes: 2 additions & 4 deletions 3.6/icegridregistry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ FROM ubuntu:16.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG ICEGRID_VERSION=3.6.5

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 5E6DA83306132997 \
&& echo "deb http://download.zeroc.com/Ice/3.6/ubuntu16.04 stable main" >> /etc/apt/sources.list.d/ice.list \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-icegrid=${ICEGRID_VERSION}-* \
zeroc-icegrid \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 4061 4062
EXPOSE 4061

VOLUME ["/var/lib/ice/icegrid"]

Expand Down
10 changes: 4 additions & 6 deletions 3.6/icestorm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ FROM ubuntu:16.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG ICEBOX_VERSION=3.6.5

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 5E6DA83306132997 \
&& echo "deb http://download.zeroc.com/Ice/3.6/ubuntu16.04 stable main" >> /etc/apt/sources.list.d/ice.list \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-icebox=${ICEBOX_VERSION}-* \
libzeroc-icestorm3.6=${ICEBOX_VERSION}-* \
zeroc-icebox \
libzeroc-icestorm3.6 \
&& rm -rf /var/lib/apt/lists/*

VOLUME ["/data"]

ENTRYPOINT ["/usr/bin/icebox", "--IceBox.Service.IceStorm=IceStormService,36:createIceStorm \
--Ice.Config=/etc/icestorm.conf \
--Freeze.DbEnv.IceStorm.DbHome=/data"]
--Ice.Config=/etc/icestorm.conf \
--Freeze.DbEnv.IceStorm.DbHome=/data"]
5 changes: 2 additions & 3 deletions 3.7/glacier2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM ubuntu:22.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG GLACIER2_VERSION=3.7.10
ARG DEBIAN_FRONTEND=noninteractive

RUN groupadd -r ice && useradd -r -g ice ice
Expand All @@ -21,12 +20,12 @@ RUN mkdir -p /etc/apt/keyrings \

RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-glacier2=${GLACIER2_VERSION}-* \
zeroc-glacier2 \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN sed -i '/^Ice\.UseSystemdJournal=1/d' /etc/glacier2router.conf \
&& sed -i 's/^Glacier2\.Client.Endpoints=.*/Glacier2\.Client\.Endpoints=tcp -h 0\.0\.0\.0 -p 4063/' /etc/glacier2router.conf \
&& sed -i 's/^Glacier2\.Server\.Endpoints=*/#Glacier2\.Server\.Endpoints=/' /etc/glacier2router.conf
&& sed -i 's/^Glacier2\.Server\.Endpoints=.*/#Glacier2\.Server\.Endpoints=/' /etc/glacier2router.conf

EXPOSE 4063 4064

Expand Down
26 changes: 0 additions & 26 deletions 3.7/glacier2/README.md

This file was deleted.

5 changes: 2 additions & 3 deletions 3.7/icegridnode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM ubuntu:22.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG ICEGRID_VERSION=3.7.10
ARG DEBIAN_FRONTEND=noninteractive

RUN groupadd -r ice && useradd -r -m -d /var/lib/ice -g ice ice
Expand All @@ -21,7 +20,7 @@ RUN mkdir -p /etc/apt/keyrings \

RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-icegrid=${ICEGRID_VERSION}-* \
zeroc-icegrid \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN sed -i '/^Ice.UseSystemdJournal=1/d' /etc/icegridnode.conf \
Expand All @@ -30,7 +29,7 @@ RUN sed -i '/^Ice.UseSystemdJournal=1/d' /etc/icegridnode.conf \
&& sed -i 's/^Ice.Default.Locator=.*/#Ice.Default.Locator=/' /etc/icegridnode.conf \
&& sed -i 's/IceGrid.Node.Endpoints=.*/IceGrid.Node.Endpoints=tcp -h 0\.0\.0\.0/' /etc/icegridnode.conf

EXPOSE 4061 4062
EXPOSE 4061

VOLUME ["/var/lib/ice/icegrid"]

Expand Down
30 changes: 0 additions & 30 deletions 3.7/icegridnode/README.md

This file was deleted.

7 changes: 3 additions & 4 deletions 3.7/icegridregistry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM ubuntu:22.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG ICEGRID_VERSION=3.7.10
ARG DEBIAN_FRONTEND=noninteractive

RUN groupadd -r ice && useradd -r -m -d /var/lib/ice -g ice ice
Expand All @@ -21,17 +20,17 @@ RUN mkdir -p /etc/apt/keyrings \

RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-icegrid=${ICEGRID_VERSION}-* \
zeroc-icegrid \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN sed -i '/^Ice.UseSystemdJournal=1/d' /etc/icegridregistry.conf \
&& sed -i 's/^IceGrid\.Registry\.Client\.Endpoints=.*/IceGrid\.Registry\.Client\.Endpoints=tcp -h 0\.0\.0\.0 -p 4061/' /etc/icegridregistry.conf \
&& sed -i 's/^IceGrid\.Registry\.Server\.Endpoints=.*/IceGrid\.Registry\.Server\.Endpoints=tcp -h 0\.0\.0\.0/' /etc/icegridregistry.conf \
&& sed -i 's/^IceGrid\.Registry\.Internal\.Endpoints=.*/IceGrid\.Registry\.Internal\.Endpoints=tcp -h 0\.0\.0\.0/' /etc/icegridregistry.conf

EXPOSE 4061 4062
EXPOSE 4061

VOLUME ["/var/lib/ice/icegrid/"]
VOLUME ["/var/lib/ice/icegrid"]

COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
Expand Down
26 changes: 0 additions & 26 deletions 3.7/icegridregistry/README.md

This file was deleted.

5 changes: 2 additions & 3 deletions 3.7/icestorm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM ubuntu:22.04

LABEL maintainer="docker-maintainers@zeroc.com"

ARG ICEBOX_VERSION=3.7.10
ARG DEBIAN_FRONTEND=noninteractive

RUN groupadd -r ice && useradd -r -m -d /var/lib/ice -g ice ice
Expand All @@ -21,8 +20,8 @@ RUN mkdir -p /etc/apt/keyrings \

RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
zeroc-icebox=${ICEBOX_VERSION}-* \
libzeroc-icestorm3.7=${ICEBOX_VERSION}-* \
zeroc-icebox \
libzeroc-icestorm3.7 \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

VOLUME ["/data"]
Expand Down
30 changes: 0 additions & 30 deletions 3.7/icestorm/README.md

This file was deleted.

Loading