File size: 409 Bytes
26b58db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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"]