Skip to content

Commit

Permalink
add default to TaskInfo.sender_address to facilitate upgrades
Browse files Browse the repository at this point in the history
make sure rsync, ssh installed in docker
  • Loading branch information
Roy Wiggins authored and Roy Wiggins committed Feb 23, 2024
1 parent b3a6940 commit 9dda1fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class TaskInfo(BaseModel, Compat):
patient_name: Optional[str]
mrn: str
acc: str
sender_address: str
sender_address: str = "MISSING"
mercure_version: str
mercure_appliance: str
mercure_server: str
Expand Down
2 changes: 1 addition & 1 deletion docker/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:22.04
RUN apt-get update && apt-get -y upgrade && \
DEBIAN_FRONTEND="noninteractive" apt-get -y install \
tzdata build-essential wget git dcmtk jq inetutils-ping entr sshpass lsb-release lsb-core libpq-dev ca-certificates python3-wheel python3-dev python3 python3-venv libqt5core5a --no-install-recommends && \
tzdata build-essential wget git dcmtk jq inetutils-ping entr sshpass rsync openssh-client lsb-release lsb-core libpq-dev ca-certificates python3-wheel python3-dev python3 python3-venv libqt5core5a --no-install-recommends && \
rm -rf /var/lib/apt/lists/* && \
useradd -ms /bin/bash mercure && \
mkdir -p /opt/mercure/app/installation /opt/mercure/app/configuration
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ install_app_files() {
install_packages() {
echo "## Installing Linux packages..."
sudo apt-get update
sudo apt-get install -y build-essential wget git dcmtk jq inetutils-ping sshpass postgresql postgresql-contrib libpq-dev git-lfs python3-wheel python3-dev python3 python3-venv sendmail libqt5core5a
sudo apt-get install -y build-essential wget git dcmtk jq inetutils-ping sshpass rsync postgresql postgresql-contrib libpq-dev git-lfs python3-wheel python3-dev python3 python3-venv sendmail libqt5core5a
}

install_dependencies() {
Expand Down

0 comments on commit 9dda1fd

Please sign in to comment.