Skip to content
Snippets Groups Projects
Commit a936cef0 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Use one stage test.

parent 6f701a62
No related branches found
No related tags found
No related merge requests found
FROM debian:buster-slim AS stage FROM debian:buster
ADD build.sh / ADD build.sh /
RUN /build.sh RUN /build.sh
FROM debian:buster-slim
LABEL maintainer="sfeng@stanford.edu"
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y -qq \ apt-get install -y -qq \
...@@ -22,7 +19,6 @@ RUN apt-get update && \ ...@@ -22,7 +19,6 @@ RUN apt-get update && \
procps \ procps \
wget wget
COPY --from=stage /artifacts /
RUN mkdir -p /etc/ldap/sasl2 \ RUN mkdir -p /etc/ldap/sasl2 \
&& echo "mech_list: GSSAPI EXTERNAL" >> /etc/ldap/sasl2/slapd.conf \ && echo "mech_list: GSSAPI EXTERNAL" >> /etc/ldap/sasl2/slapd.conf \
&& mkdir -p /var/lib/ldap/accesslog \ && mkdir -p /var/lib/ldap/accesslog \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment