Skip to content

Commit

Permalink
fix wrong postgres version
Browse files Browse the repository at this point in the history
  • Loading branch information
tillsteinbach committed Oct 21, 2021
1 parent 6dbf5ba commit f0cfdf6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.

## [Unreleased] (Available through Edge Tag)
- No unreleased changes so far

## [0.9.1] - 2021-10-21
### Fixed
- Refueling seperated in two parts is now joined into one session

### Changed
- Updated API to 0.21.5

Expand Down Expand Up @@ -164,6 +170,7 @@ This is a complete rewrite of VWsFriend using a self developed API. It drops ioB
Initial release to enable "latest" tag on dockerhub

[unreleased]: https://github.com/tillsteinbach/VWsFriend/compare/v0.9.0...HEAD
[0.9.1]: https://github.com/tillsteinbach/VWsFriend/releases/tag/v0.9.1
[0.9.0]: https://github.com/tillsteinbach/VWsFriend/releases/tag/v0.9.0
[0.8.1]: https://github.com/tillsteinbach/VWsFriend/releases/tag/v0.8.1
[0.8.0]: https://github.com/tillsteinbach/VWsFriend/releases/tag/v0.8.0
Expand Down
8 changes: 4 additions & 4 deletions vwsfriend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# syntax = docker/dockerfile:experimental
# Here is the build image
FROM ubuntu:20.04 as builder
FROM ubuntu:21.04 as builder

ENV DEBIAN_FRONTEND="noninteractive"
ENV TZ="Etc/UTC"

RUN apt-get update && apt-get install --no-install-recommends -y python3.9 python3.9-dev python3.9-venv python3-pip python3-wheel build-essential && \
apt-get install --no-install-recommends -y libpq-dev libffi-dev libssl-dev cargo libjpeg-dev zlib1g-dev && \
apt-get install --no-install-recommends -y libpq-dev libffi-dev libssl-dev rustc cargo libjpeg-dev zlib1g-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/*


Expand All @@ -15,11 +15,11 @@ RUN python3.9 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN pip3 install --no-cache-dir wheel
# This line is a workaround necessary for linux/arm/v7 architecture that has a bug with qemu: https://github.com/rust-lang/cargo/issues/8719
RUN --security=insecure mkdir -p /root/.cargo && chmod 777 /root/.cargo && mount -t tmpfs none /root/.cargo && pip3 install --no-cache-dir cryptography
RUN --security=insecure mkdir -p /root/.cargo/registry/index && chmod 777 /root/.cargo/registry/index && mount -t tmpfs none /root/.cargo/registry/index && pip3 install --no-cache-dir cryptography
RUN pip3 install --no-cache-dir vwsfriend


FROM ubuntu:20.04 AS runner-image
FROM ubuntu:21.04 AS runner-image

ENV WECONNECT_USER=
ENV WECONNECT_PASSWORD=
Expand Down

0 comments on commit f0cfdf6

Please sign in to comment.