Skip to content

Commit

Permalink
fix: remove invalid code
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <smallqi1@163.com>
  • Loading branch information
zzzhangqi committed Nov 14, 2024
1 parent 4ce358a commit a92c10d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@ ARG RELEASE_DESC

# 时区设置
ENV TZ=Asia/Shanghai
RUN sed -i "s/# StrictHostKeyChecking ask/StrictHostKeyChecking no/g" /etc/ssh/ssh_config && \
mkdir /root/.ssh

ADD ./builder/ /tmp/builder
ADD ./pre-compile/ /tmp/pre-compile
ADD ./buildpacks /tmp/buildpacks

RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/id_rsa && \
mkdir /app && \
RUN mkdir /app && \
addgroup --quiet --gid 200 rain && \
useradd rain --uid=200 --gid=200 --home-dir /app --no-create-home && \
/tmp/builder/install-buildpacks && \
Expand Down

0 comments on commit a92c10d

Please sign in to comment.