Skip to content

Commit 9325df1

Browse files
committed
SYS-318 release 18.06 version number refresh
1 parent 45d53c8 commit 9325df1

35 files changed

Lines changed: 150 additions & 20 deletions

File tree

images/dhcpd-dns-pxe/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
88
org.label-schema.vcs-ref=$VCS_REF \
99
org.label-schema.vcs-url=https://github.com/instantlinux/docker-tools
1010

11+
ARG DHCP_VERSION=4.3.5-r0
12+
1113
ENV DHCP_BOOT=pxelinux.0 \
1214
DHCP_ENABLE=yes \
1315
DHCP_LEASE_PATH=/var/lib/misc \
@@ -32,7 +34,7 @@ ENV DHCP_BOOT=pxelinux.0 \
3234
TFTP_SERVER=self \
3335
TZ=UTC
3436

35-
RUN apk add --no-cache --update dhcp dnsmasq
37+
RUN apk add --no-cache --update dhcp=$DHCP_VERSION dnsmasq
3638

3739
EXPOSE 53/udp 67/udp 69/udp
3840
VOLUME $DHCP_LEASE_PATH $TFTP_ROOT /etc/dhcpd.d/local /etc/dnsmasq.d/local
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
TAG=$(grep "ARG .*_VERSION" Dockerfile | cut -d= -f 2)
3+
docker tag $IMAGE_NAME $DOCKER_REPO:$TAG
4+
docker push $DOCKER_REPO:$TAG

images/dovecot/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
88
org.label-schema.vcs-ref=$VCS_REF \
99
org.label-schema.vcs-url=https://github.com/instantlinux/docker-tools
1010

11+
ARG DOVECOT_VERSION=2.2.34-r0
1112
ENV LDAP_PASSWD_SECRET=ldap-ro-password
1213

13-
RUN apk add --no-cache dovecot dovecot-ldap procmail
14+
RUN apk add --no-cache dovecot=$DOVECOT_VERSION dovecot-ldap=$DOVECOT_VERSION \
15+
procmail
1416
EXPOSE 143 993
1517
VOLUME /etc/dovecot/conf.local /home /var/spool/mail
1618

images/dovecot/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
deploy:
2323
placement:
2424
constraints:
25-
- node.labels.swarm-sync-member == true
25+
- node.labels.mail-sync-member == true
2626
logging:
2727
driver: json-file
2828
options:

images/dovecot/entrypoint-dovecot.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ if [ -s $ETC/conf.local/dovecot-ldap.conf ]; then
1616
sed -i -e "s/PASSWORD/`cat /run/secrets/$LDAP_PASSWD_SECRET`/" \
1717
$ETC/dovecot-ldap.conf
1818
fi
19+
if [ -f /etc/postfix/transport ]; then
20+
postmap /etc/postfix/transport
21+
fi
1922
mkdir -p -m 700 /etc/ssl/private
2023
cp /run/secrets/*key.pem /etc/ssl/private
2124

images/dovecot/hooks/post_push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
TAG=$(grep "ARG .*_VERSION" Dockerfile | cut -d= -f 2)
3+
docker tag $IMAGE_NAME $DOCKER_REPO:$TAG
4+
docker push $DOCKER_REPO:$TAG

images/duplicati/hooks/post_push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
TAG=$(grep "ARG DUPLICATI_VERSION" Dockerfile | cut -d= -f 2)
3+
docker tag $IMAGE_NAME $DOCKER_REPO:$TAG
4+
docker push $DOCKER_REPO:$TAG

images/ez-ipupdate/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
88
org.label-schema.vcs-ref=$VCS_REF \
99
org.label-schema.vcs-url=https://github.com/instantlinux/docker-tools
1010

11+
ARG EZ_VERSION=3.0.10-r9
1112
ENV HOST=must_be_set \
1213
INTERVAL=3600 \
1314
IPLOOKUP_URI=http://ipinfo.io/ip \
1415
SERVICE_TYPE=easydns \
1516
USER_SECRET=ez-ipupdate-user
1617

17-
RUN apk add --update curl ez-ipupdate && \
18+
RUN apk add --update curl ez-ipupdate=$EZ_VERSION && \
1819
rm -fr /var/log/* /var/cache/apk/*
1920

2021
CMD sh -c 'echo "user=`cat /run/secrets/$USER_SECRET`" > /run/ez.conf && \

images/ez-ipupdate/hooks/post_push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
TAG=$(grep "ARG .*_VERSION" Dockerfile | cut -d= -f 2)
3+
docker tag $IMAGE_NAME $DOCKER_REPO:$TAG
4+
docker push $DOCKER_REPO:$TAG

images/git-dump/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ ENV API_TOKEN_SECRET= \
1919
USERNAME=git-dump \
2020
TZ=UTC
2121

22-
ARG UID=212
22+
ARG GIT_VERSION=2.15.0-r1
2323
ARG GROUP=care
2424
ARG GID=505
25+
ARG UID=212
2526

2627
COPY *.sh /usr/local/bin/
27-
RUN apk add --no-cache --update curl dcron git jq openssh-client && \
28+
RUN apk add --no-cache --update curl dcron git=$GIT_VERSION jq openssh-client && \
2829
addgroup -g $GID $GROUP && \
2930
adduser -u $UID -s /bin/sh -G $GROUP -g "git backup" -D $USERNAME && \
3031
chmod o+rx,g+rx /usr/local/bin/*.sh

0 commit comments

Comments
 (0)