Skip to content

Commit 7270bb6

Browse files
ci: add arm64 Dockerfiles (sudachipy) (#65)
* ci: add arm64 Dockerfiles (sudachipy) * perf: add Dockerfile.arm64 support to Drone * ci: align to Dockerfile japanese language support
1 parent 57153ec commit 7270bb6

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ FROM kernai/refinery-parent-images:v1.17.2-common
22

33
WORKDIR /program
44

5+
RUN apt-get update && apt-get install -y curl libc6-dev zlib1g gcc --no-install-recommends
6+
7+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
8+
9+
ENV PATH="/root/.cargo/bin:${PATH}"
10+
511
COPY requirements.txt .
612

713
RUN pip3 install --no-cache-dir -r requirements.txt

dev.Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ WORKDIR /app
44

55
VOLUME ["/app"]
66

7+
RUN apt-get update && apt-get install -y curl libc6-dev zlib1g gcc --no-install-recommends
8+
9+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
10+
11+
ENV PATH="/root/.cargo/bin:${PATH}"
12+
713
COPY requirements*.txt .
814

915
RUN pip3 install --no-cache-dir -r requirements-dev.txt

0 commit comments

Comments
 (0)