Skip to content

Commit

Permalink
Update ENV style to use non-legacy form (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Oct 18, 2024
1 parent f14188e commit c86234d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions runners/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ FROM ghcr.io/pyca/static-nodejs-${NODE_ARCH_RELEASE} AS staticnodejs
FROM alpine:latest

# Increment this to blow away the docker cache
ENV CACHE_BUSTER 1
ENV CACHE_BUSTER=1

# This is needed because otherwise `sys.getfilesystemencoding()` returns
# "ANSI_X3.4-1968".
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apk add --no-cache git libffi-dev curl \
python3-dev openssl-dev bash gcc musl-dev tar pkgconfig zstd libucontext-dev musl-obstack-dev make
Expand Down
4 changes: 2 additions & 2 deletions runners/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ ARG RELEASE
FROM debian:${RELEASE}

# Increment this to blow away the docker cache
ENV CACHE_BUSTER 5
ENV CACHE_BUSTER=5

# This is needed because otherwise `sys.getfilesystemencoding()` returns
# "ANSI_X3.4-1968".
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get -qq update && apt-get install -qq -y \
build-essential \
Expand Down
2 changes: 1 addition & 1 deletion runners/fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM registry.fedoraproject.org/fedora:latest

# This is needed because otherwise `sys.getfilesystemencoding()` returns
# "ANSI_X3.4-1968".
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN dnf install -y gcc redhat-rpm-config libffi-devel python3 \
python3-devel openssl-devel git findutils which pkg-config zstd && \
Expand Down
6 changes: 3 additions & 3 deletions runners/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ ARG RELEASE
FROM ubuntu:${RELEASE}

# Increment this to blow away the docker cache
ENV CACHE_BUSTER 3
ENV CACHE_BUSTER=3

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

# This is needed because otherwise `sys.getfilesystemencoding()` returns
# "ANSI_X3.4-1968".
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get -qq update && apt-get install -qq -y \
build-essential \
Expand Down

0 comments on commit c86234d

Please sign in to comment.