diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 6b222794..e737c135 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -13,6 +13,8 @@ jobs: upload_url: ${{ steps.set_data1.outputs.upload_url }} appendix: ${{ steps.set_data2.outputs.appendix }} steps: + - name: Install build dependencies + run: sudo apt-get install -y --no-install-recommends gcc protobuf-c-compiler build-essential - name: Get current datetime id: get-datetime run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV diff --git a/Dockerfile b/Dockerfile index 625be47a..2ef9e8a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:latest as buildenv RUN apt-get update \ - && apt-get install -y --no-install-recommends gcc protobuf-c-compiler build-essential faketime openssl \ + && apt-get install -y --no-install-recommends gcc protobuf-c-compiler build-essential \ && rm -rf /var/lib/apt/lists/* COPY . /buildenv @@ -11,6 +11,10 @@ RUN make preinstall FROM ubuntu:latest EXPOSE 80 443 +RUN apt-get update \ + && apt-get install -y --no-install-recommends faketime openssl \ + && rm -rf /var/lib/apt/lists/* + RUN mkdir -p /teddycloud/certs/server \ && mkdir -p /teddycloud/www/CONTENT \ && mkdir /teddycloud/config