Skip to content

Commit

Permalink
🧱 Optimize image size
Browse files Browse the repository at this point in the history
使うことないのに qmk/qmk_firmwareの .git が1GB近くあるので消す
  • Loading branch information
844196 committed Oct 14, 2023
1 parent 3d66a5f commit 8bb83c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ FROM base
ARG QMK_REPOSITORY=qmk/qmk_firmware
ARG QMK_VERSION=master

RUN qmk setup --yes --home "${QMK_HOME}" "${QMK_REPOSITORY}" --branch "${QMK_VERSION}"
RUN \
qmk setup --yes --home "${QMK_HOME}" "${QMK_REPOSITORY}" --branch "${QMK_VERSION}" && \
rm -rf "${QMK_HOME}"/.git

0 comments on commit 8bb83c5

Please sign in to comment.