Skip to content

Commit 64eee7e

Browse files
authored
Revert "Revert "Rebase base images from scratch and alpine to distroless""
1 parent 39ca8da commit 64eee7e

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Dockerfile.404-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM scratch
15+
FROM gcr.io/distroless/static:latest
1616

1717
ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN
1818

Dockerfile.fuzzer

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM alpine:3.8
16-
17-
RUN apk add --no-cache ca-certificates
15+
# This image requires ca-certificate, which is pre-installed in distroless.
16+
FROM gcr.io/distroless/static:latest
1817

1918
ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN
2019
ENTRYPOINT ["/ARG_BIN"]

Dockerfile.glbc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM alpine:3.8
16-
17-
RUN apk add --no-cache ca-certificates
15+
# This image requires ca-certificate, which is pre-installed in distroless.
16+
FROM gcr.io/distroless/static:latest
1817

1918
ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN
2019
ENTRYPOINT ["/ARG_BIN"]

0 commit comments

Comments
 (0)