Skip to content

Commit 8a2644e

Browse files
committed
ci: align to Dockerfile japanese language support
1 parent 9d3b983 commit 8a2644e

File tree

5 files changed

+12
-42
lines changed

5 files changed

+12
-42
lines changed

.drone.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ steps:
8080
image: plugins/docker
8181
settings:
8282
registry: registry.dev.kern.ai
83-
dockerfile: Dockerfile.arm64
8483
username:
8584
from_secret: docker_username
8685
password:
@@ -145,7 +144,6 @@ steps:
145144
- name: build and publish
146145
image: plugins/docker
147146
settings:
148-
dockerfile: Dockerfile.arm64
149147
username:
150148
from_secret: dockerhub_username
151149
password:

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

Dockerfile.arm64

Lines changed: 0 additions & 19 deletions
This file was deleted.

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

dev.Dockerfile.arm64

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)