gg / Dockerfile
COLTO50's picture
Create Dockerfile
26b58db verified
raw
history blame contribute delete
409 Bytes
# Use a base image with Bash
FROM ubuntu:latest
# Install any dependencies you need
RUN apt-get update && apt-get install -y \
bash \
&& rm -rf /var/lib/apt/lists/*
# Copy your Bash script into the container
COPY bash_script.sh /workspace/bash_script.sh
# Make the script executable
RUN chmod +x /workspace/bash_script.sh
# Specify the command to run your script
CMD ["/workspace/bash_script.sh"]