16 lines
452 B
Docker
16 lines
452 B
Docker
FROM ubuntu:20.04
|
|
|
|
RUN apt-get update && \
|
|
apt-get install --assume-yes wget
|
|
|
|
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc \
|
|
&& chmod +x mc \
|
|
&& mv mc /usr/local/bin/ \
|
|
&& mc --help
|
|
|
|
# Copies your code file from your action repository to the filesystem path `/` of the container
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
# Code file to execute when the docker container starts up (`entrypoint.sh`)
|
|
ENTRYPOINT ["/entrypoint.sh"]
|