Skip to content

Commit

Permalink
fix ubuntu version, integration, flask installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Nov 26, 2024
1 parent 09a1f6e commit 7aa20cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lab/machines/Dockerfile-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:23.04
FROM ubuntu:24.04

# Add Default Users
RUN useradd -m -s /bin/bash jmartinez
Expand Down
2 changes: 1 addition & 1 deletion lab/machines/c-db-01/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:23.04
FROM ubuntu:24.04

# Metadata
LABEL name="c-db-01"
Expand Down
3 changes: 3 additions & 0 deletions lab/machines/p-jumpbox-01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ COPY files/backup-user-sudo-config /etc/sudoers.d/backup-user-sudo-config
# Grant sudo access to jmartinez user
COPY files/jmartinez-user-sudo-config /etc/sudoers.d/jmartinez-user-sudo-config

# Setup permissions
RUN chmod 755 /etc/sudoers.d/*-user-sudo-config

# Create the data and scripts directory
RUN mkdir scripts
RUN mkdir -p /data/backup
Expand Down
4 changes: 2 additions & 2 deletions lab/machines/p-web-01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN apt-get install -y \
python3 \
python3-pip \
iptables \
gnupg
RUN pip3 install flask --break-system-packages
gnupg \
python3-flask

# Copy Files to Lab
WORKDIR /app
Expand Down

0 comments on commit 7aa20cc

Please sign in to comment.