-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
32 lines (25 loc) · 811 Bytes
/
Copy pathdockerfile
File metadata and controls
32 lines (25 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Use the official Ubuntu base image
FROM ubuntu:22.04
# Metadata for the project
LABEL project='colav-unsafe-set'
LABEL maintainer='Ryan McKee <r.mckee@qub.ac.uk>'
LABEL version='0.0.1'
LABEL description='A simple Ubuntu Dockerfile for development of the colav-unsafe-set pkg'
# Set non-interactive mode to avoid prompts during package installation
ARG DEBIAN_FRONTEND=noninteractive
# Update package list and install common development tools
RUN apt-get update && \
apt-get install -y \
build-essential \
git \
curl \
python3 \
python3-pip \
ca-certificates \
&& apt-get clean
# Set up a working directory
WORKDIR /workspace
COPY requirements.txt .
RUN /bin/bash -c "pip3 install -r requirements.txt"
# Define the default command (bash shell in this case)
CMD [ "bash" ]