Skip to content

Commit

Permalink
Merge branch 'main' into ci
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
  • Loading branch information
ajbozarth committed Dec 10, 2024
2 parents ecc80eb + ed4b911 commit 1e3ed32
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions curl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ARG DEFAULT_GROUPS="x25519:x448:kyber512:p256_kyber512:kyber768:p384_kyber768:ky
ARG MAKE_DEFINES="-j 4"


FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate
# Take in all global args
ARG OPENSSL_TAG
ARG LIBOQS_TAG
Expand Down Expand Up @@ -123,7 +123,7 @@ COPY serverstart.sh ${INSTALLDIR}/bin
CMD ["serverstart.sh"]

## second stage: Only create minimal image without build tooling and intermediate build results generated above:
FROM alpine:${ALPINE_VERSION} as dev
FROM alpine:${ALPINE_VERSION} AS dev
# Take in all global args
ARG INSTALLDIR
ARG SIG_ALG
Expand Down
4 changes: 2 additions & 2 deletions h2load/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# define the alpine image version to use
ARG ALPINE_VERSION=3.20

FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -75,7 +75,7 @@ RUN mkdir /opt/lib && cd /opt/lib && \
cp /usr/lib/libgcc_s.so.* .

## second stage: Only create minimal image without build tooling and intermediate build results generated above:
FROM alpine:${ALPINE_VERSION} as dev
FROM alpine:${ALPINE_VERSION} AS dev
ENV DEBIAN_FRONTEND=noninteractive

# copy executable
Expand Down
2 changes: 1 addition & 1 deletion httpd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ARG APR_MIRROR="https://dlcdn.apache.org"
ARG MAKE_DEFINES="-j 4"


FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate
# Take in global args
ARG OPENSSL_TAG
ARG LIBOQS_TAG
Expand Down
2 changes: 1 addition & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ARG NGINX_VERSION=1.27.2
ARG MAKE_DEFINES="-j 18"


FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate
# Take in global args
ARG OPENSSL_TAG
ARG LIBOQS_TAG
Expand Down
2 changes: 1 addition & 1 deletion nginx/fulltest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ARG MAKE_DEFINES="-j"
# Root CA directory
ARG CAROOTDIR="/rootca"

FROM ubuntu:focal-20230412 as intermediate
FROM ubuntu:focal-20230412 AS intermediate
# Take in global args
ARG BASEDIR
ARG CONFIGDIR
Expand Down
4 changes: 2 additions & 2 deletions ngtcp2/Dockerfile-client
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# define the alpine image version to use
ARG ALPINE_VERSION=3.20

FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -83,7 +83,7 @@ RUN mkdir /opt/lib && cd /opt/lib && \
cp /usr/lib/libgcc_s.so.* .

## second stage: Only create minimal image without build tooling and intermediate build results generated above:
FROM alpine:${ALPINE_VERSION} as dev
FROM alpine:${ALPINE_VERSION} AS dev
ENV DEBIAN_FRONTEND=noninteractive

RUN apk update && apk upgrade
Expand Down
4 changes: 2 additions & 2 deletions ngtcp2/Dockerfile-server
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# define the alpine image version to use
ARG ALPINE_VERSION=3.20

FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -87,7 +87,7 @@ RUN mkdir /opt/lib && cd /opt/lib && \
cp /usr/lib/libgcc_s.so.* .

## second stage: Only create minimal image without build tooling and intermediate build results generated above:
FROM alpine:${ALPINE_VERSION} as dev
FROM alpine:${ALPINE_VERSION} AS dev
ENV DEBIAN_FRONTEND=noninteractive

RUN apk update && apk upgrade && apk add mailcap && echo "This is my index page">index.html
Expand Down
4 changes: 2 additions & 2 deletions openssh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ARG MAKE_INSTALL="install-nokeys"
ARG OQS_USER="oqs"
ARG OQS_PASSWORD="Pa55W0rd"

FROM alpine:${ALPINE_VERSION} as intermediate
FROM alpine:${ALPINE_VERSION} AS intermediate
# Take in all global args
ARG INSTALL_DIR
ARG LIBOQS_TAG
Expand Down Expand Up @@ -85,7 +85,7 @@ STOPSIGNAL SIGTERM

## second stage: Only create minimal image without build tooling and intermediate build results generated above:

FROM alpine:${ALPINE_VERSION} as dev
FROM alpine:${ALPINE_VERSION} AS dev
# Take in all global args
ARG DEFAULT_INSTALL_DIR
ARG INSTALL_DIR
Expand Down
8 changes: 4 additions & 4 deletions openssl3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ARG MAKE_DEFINES="-j 8"

ARG SIG_ALG="dilithium3"

FROM alpine:${ALPINE_VERSION} as buildopenssl
FROM alpine:${ALPINE_VERSION} AS buildopenssl
# Take in all global args
ARG OPENSSL_TAG
ARG INSTALLDIR_OPENSSL
Expand Down Expand Up @@ -54,7 +54,7 @@ RUN LDFLAGS="-Wl,-rpath -Wl,${INSTALLDIR_OPENSSL}/lib64" ./config shared --prefi
if [ -d ${INSTALLDIR_OPENSSL}/lib64 ]; then ln -s ${INSTALLDIR_OPENSSL}/lib64 ${INSTALLDIR_OPENSSL}/lib; fi && \
if [ -d ${INSTALLDIR_OPENSSL}/lib ]; then ln -s ${INSTALLDIR_OPENSSL}/lib ${INSTALLDIR_OPENSSL}/lib64; fi

FROM alpine:${ALPINE_VERSION} as buildliboqs
FROM alpine:${ALPINE_VERSION} AS buildliboqs
# Take in all global args
ARG LIBOQS_TAG
ARG INSTALLDIR_OPENSSL
Expand Down Expand Up @@ -83,7 +83,7 @@ RUN mkdir build && \
cmake -G"Ninja" .. -DOPENSSL_ROOT_DIR=${INSTALLDIR_OPENSSL} ${LIBOQS_BUILD_DEFINES} -DCMAKE_INSTALL_PREFIX=${INSTALLDIR_LIBOQS} && \
ninja install

FROM alpine:${ALPINE_VERSION} as buildoqsprovider
FROM alpine:${ALPINE_VERSION} AS buildoqsprovider
# Take in all global args
ARG OQSPROVIDER_TAG
ARG INSTALLDIR_OPENSSL
Expand Down Expand Up @@ -126,7 +126,7 @@ RUN set -x; \
openssl req -x509 -new -newkey ${SIG_ALG} -keyout CA.key -out CA.crt -nodes -subj "/CN=oqstest CA" -days 365

## second stage: Only create minimal image without build tooling and intermediate build results generated above:
FROM alpine:${ALPINE_VERSION} as dev
FROM alpine:${ALPINE_VERSION} AS dev
# Take in all global args
ARG INSTALLDIR_OPENSSL
ARG SIG_ALG
Expand Down
8 changes: 4 additions & 4 deletions openssl3/Dockerfile-interop
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARG MAKE_DEFINES="-j 8"

ARG SIG_ALG="dilithium3"

FROM ubuntu as buildopenssl
FROM ubuntu AS buildopenssl
# Take in all global args
ARG OPENSSL_TAG
ARG INSTALLDIR_OPENSSL
Expand Down Expand Up @@ -48,7 +48,7 @@ RUN LDFLAGS="-Wl,-rpath -Wl,${INSTALLDIR_OPENSSL}/lib64" ./config shared --prefi
if [ -d ${INSTALLDIR_OPENSSL}/lib64 ]; then ln -s ${INSTALLDIR_OPENSSL}/lib64 ${INSTALLDIR_OPENSSL}/lib; fi && \
if [ -d ${INSTALLDIR_OPENSSL}/lib ]; then ln -s ${INSTALLDIR_OPENSSL}/lib ${INSTALLDIR_OPENSSL}/lib64; fi

FROM ubuntu as buildliboqs
FROM ubuntu AS buildliboqs
# Take in all global args
ARG LIBOQS_TAG
ARG INSTALLDIR_OPENSSL
Expand Down Expand Up @@ -76,7 +76,7 @@ RUN mkdir build && \
cmake -G"Ninja" .. -DOPENSSL_ROOT_DIR=${INSTALLDIR_OPENSSL} ${LIBOQS_BUILD_DEFINES} -DCMAKE_INSTALL_PREFIX=${INSTALLDIR_LIBOQS} && \
ninja install

FROM ubuntu as buildoqsprovider
FROM ubuntu AS buildoqsprovider
# Take in all global args
ARG OQSPROVIDER_TAG
ARG INSTALLDIR_OPENSSL
Expand Down Expand Up @@ -123,7 +123,7 @@ RUN set -x; \
openssl req -x509 -new -newkey ${SIG_ALG} -keyout CA.key -out CA.crt -nodes -subj "/CN=oqstest CA" -days 365

## second stage: Only create minimal image without build tooling and intermediate build results generated above:
FROM ubuntu as dev
FROM ubuntu AS dev
# Take in all global args
ARG INSTALLDIR_OPENSSL
ARG SIG_ALG
Expand Down
2 changes: 1 addition & 1 deletion openvpn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ARG MAKE_DEFINES="-j 4"
# Default KEM algorithms to be utilized
ARG KEM_ALGLIST="kyber768:p384_kyber768"

FROM debian:bullseye as intermediate
FROM debian:bullseye AS intermediate
# Take in all global args
ARG OPENSSL_TAG
ARG LIBOQS_TAG
Expand Down

0 comments on commit 1e3ed32

Please sign in to comment.