Skip to content

Commit

Permalink
lowercase base font dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
awnion committed Sep 7, 2024
1 parent f6b21f0 commit a2d323b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ WORKDIR /
RUN <<-EOF
set -ex
curl -sSL https://github.com/be5invis/Iosevka/archive/v${FONT_VERSION}.tar.gz | tar xvz
mv /Iosevka-${FONT_VERSION} /Iosevka
mv /Iosevka-${FONT_VERSION} /iosevka
EOF


Expand All @@ -50,11 +50,11 @@ ARG TARGETARCH
ARG FONT_NAME
ARG BUILD_DIR

WORKDIR ${BUILD_DIR}/Iosevka
COPY --link --from=iosevka_src /Iosevka .
WORKDIR ${BUILD_DIR}/iosevka
COPY --link private-build-plans.toml .
COPY --from=iosevka_src /iosevka .

RUN --mount=type=cache,id=node-${TARGETARCH},target=${BUILD_DIR}/Iosevka/node_modules \
RUN --mount=type=cache,id=node-${TARGETARCH},target=${BUILD_DIR}/iosevka/node_modules \
<<-EOF
set -ex
bun i
Expand Down
2 changes: 1 addition & 1 deletion src/docker_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():
output_dir = environ.get('OUTPUT_DIR', '/output')
font_name = environ.get('FONT_NAME', 'afio')

ttf_dir = path.join(build_dir, f'Iosevka/dist/{font_name}/TTF')
ttf_dir = path.join(build_dir, f'iosevka/dist/{font_name}/TTF')
ttf_files = glob.glob(f'{ttf_dir}/*.ttf', recursive=True)

with Pool(8) as pool:
Expand Down

0 comments on commit a2d323b

Please sign in to comment.