Skip to content

Commit

Permalink
Update to Distroless based on Debian 12 (googleforgames#805)
Browse files Browse the repository at this point in the history
Updated base image, which includes a fix to mark the binary as owned
by the nonroot user.
  • Loading branch information
markmandel authored Sep 29, 2023
1 parent 52bfe6a commit 2f182ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM gcr.io/distroless/cc-debian11:nonroot as base
FROM gcr.io/distroless/cc-debian12:nonroot as base
WORKDIR /
COPY ./license.html .
COPY ./dependencies-src.zip .
COPY ./target/image/quilkin .
COPY --chown=nonroot:nonroot ./target/image/quilkin .

USER nonroot:nonroot
ENTRYPOINT ["/quilkin"]

0 comments on commit 2f182ab

Please sign in to comment.