You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
415 B
15 lines
415 B
FROM openjdk:11.0.15-jre-bullseye
|
|
|
|
MAINTAINER hellodk<[email protected]>
|
|
|
|
# using ustc
|
|
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
|
|
apt-get clean
|
|
|
|
RUN apt-get update && apt-get install -y vim
|
|
|
|
WORKDIR /opt/app/
|
|
|
|
COPY target/tinyimage-1.0-SNAPSHOT-jar-with-dependencies.jar ./
|
|
|
|
RUN echo 'alias tiny="java -jar /opt/app/tinyimage-1.0-SNAPSHOT-jar-with-dependencies.jar"' >> ~/.bashrc
|
|
|