Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add kclvm release dockerfile #327

Merged
merged 1 commit into from
Dec 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions scripts/docker/kclvm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2021 The KCL Authors. All rights reserved.

FROM ubuntu:20.04

RUN apt-get update
RUN apt-get install python3 python3-pip -y

# Install python3 and pip

COPY _build/dist/ubuntu/kclvm /kclvm/

RUN chmod +x /kclvm/bin/kcl
RUN chmod +x /kclvm/bin/kcl-doc
RUN chmod +x /kclvm/bin/kcl-fmt
RUN chmod +x /kclvm/bin/kcl-lint
RUN chmod +x /kclvm/bin/kcl-plugin
RUN chmod +x /kclvm/bin/kcl-test
RUN chmod +x /kclvm/bin/kcl-vet
RUN chmod +x /kclvm/bin/kclvm
RUN chmod +x /kclvm/bin/kclvm_cli
RUN /kclvm/bin/kcl

ENV PATH="/kclvm/bin:${PATH}"
ENV LANG=en_US.utf8

CMD ["bash"]