Skip to content

Commit

Permalink
update CI and Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Dec 25, 2023
1 parent 8132d5a commit 54fa8f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ jobs:
override: true
target: ${{ matrix.target }}

- name: Install specific version of OpenSSL (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y openssl=1.1.1f-1ubuntu2 libssl1.1
- if: matrix.os == 'windows-latest'
name: Install PostgreSQL
uses: ikalnytskyi/action-setup-postgres@v4
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile-UserUpdater
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM debian:buster-slim

# Install necessary packages including PostgreSQL client libraries, CA certificates, and specific OpenSSL version
# Install necessary packages including PostgreSQL client libraries
# and CA certificates
RUN apt-get update && \
apt-get install -y libpq5 ca-certificates openssl=1.1.1f-1ubuntu2 libssl1.1 && \
apt-get install -y libpq5 ca-certificates openssl libssl-dev && \
# Create a symlink for libssl.so.3 to point to libssl.so.1
ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.3 && \
# Clean up
rm -rf /var/lib/apt/lists/*

# Copy the pidgtm binary and set permissions
Expand Down

0 comments on commit 54fa8f5

Please sign in to comment.