Skip to content

Commit

Permalink
Revert "Revert "Rebase base images from scratch and alpine to distrol…
Browse files Browse the repository at this point in the history
…ess""
  • Loading branch information
yuwenma authored Mar 12, 2019
1 parent 39ca8da commit 64eee7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.404-server
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM scratch
FROM gcr.io/distroless/static:latest

ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN

Expand Down
5 changes: 2 additions & 3 deletions Dockerfile.fuzzer
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM alpine:3.8

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

ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN
ENTRYPOINT ["/ARG_BIN"]
5 changes: 2 additions & 3 deletions Dockerfile.glbc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM alpine:3.8

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

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

0 comments on commit 64eee7e

Please sign in to comment.