Skip to content

Commit cacff4a

Browse files
author
Lenny Goodell
authored
Merge pull request #217 from lenny-intel/cve
fix: Address CVE in Alpine base image
2 parents 67bef4f + ac54d5e commit cacff4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ FROM alpine:3.18
4141
LABEL license='SPDX-License-Identifier: Apache-2.0' \
4242
copyright='Copyright (c) 2021: Jiangxing Intelligence'
4343

44-
RUN apk add --update --no-cache
44+
RUN apk add --update --no-cache dumb-init
45+
# Ensure using latest versions of all installed packages to avoid any recent CVEs
46+
RUN apk --no-cache upgrade
4547

4648
WORKDIR /
4749
COPY --from=builder /device-gpio/Attribution.txt /

0 commit comments

Comments
 (0)