Skip to content

Commit

Permalink
Attempt to address trueagi-io/metta-wam#207 by putting the update and…
Browse files Browse the repository at this point in the history
… the package installs as one docker layer.. there could been problems if someone has previous cached layers
  • Loading branch information
TeamSPoon committed Dec 5, 2024
1 parent 400f501 commit d1c5a57
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ flybase_metta.qlf
./reports/
./reports_local/
./venv/lib
./venv/
./reqs/
./.Attic
!./reqs/logicmoo_utils
!./reqs/predicate_streams
# local development might need these changes without commiting
Expand Down
19 changes: 15 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ FROM ubuntu:22.04

# Install prerequisites
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update
RUN apt install -y python3 python3-pip libpython3-dev git
RUN apt install -y sudo git curl gcc cmake
RUN apt install -y python3-venv time wget vim bc dos2unix
RUN apt update && apt install -y \
python3 \
python3-pip \
libpython3-dev \
git \
sudo \
curl \
gcc \
cmake \
python3-venv \
time \
wget \
vim \
bc \
dos2unix

# Create user
ENV USER=user
Expand Down

0 comments on commit d1c5a57

Please sign in to comment.