...
1FROM buildpack-deps:focal-scm
2
3# Provided automatically by docker buildx.
4ARG TARGETPLATFORM
5ARG BUILDPLATFORM
6
7ENV TARGETPLATFORM=$TARGETPLATFORM
8ENV PATH /usr/local/go/bin:/usr/local/protoc/bin:$PATH
9
10COPY requirements.txt /tmp/requirements.txt
11COPY boulder.rsyslog.conf /etc/rsyslog.d/
12COPY build.sh /tmp/build.sh
13RUN /tmp/build.sh
14# Note: This arg and env variable should only be set _after_ build.sh installs
15# necessary apt packages. Otherwise, we will reinstall those apt packages for
16# each Go version, rather than reusing a cached layer.
17ARG GO_VERSION
18ENV GO_VERSION=$GO_VERSION
19COPY install-go.sh /tmp/install-go.sh
20RUN /tmp/install-go.sh
21RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
22RUN sed -i '/$ActionFileDefaultTemplate/s/^/#/' /etc/rsyslog.conf
23RUN sed -i '/$RepeatedMsgReduction on/s/^/#/' /etc/rsyslog.conf
View as plain text