Skip to content

Commit b47fb49

Browse files
committed
Discontinue official Docker images of Solidity
1 parent bed835c commit b47fb49

File tree

7 files changed

+7
-179
lines changed

7 files changed

+7
-179
lines changed

.circleci/config.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,22 +1847,6 @@ jobs:
18471847
- matrix_notify_failure_unless_pr
18481848
- matrix_notify_release_unless_pr
18491849

1850-
b_alpine_docker:
1851-
<<: *base_cimg_small
1852-
steps:
1853-
- setup_remote_docker:
1854-
# Always build from scratch to use current packages.
1855-
# This job is only meant to run nightly so build time is not an issue.
1856-
docker_layer_caching: false
1857-
- checkout
1858-
- run:
1859-
name: Build and tag the container
1860-
command: scripts/docker_deploy_manual.sh develop "file://$PWD" --no-push
1861-
- run:
1862-
name: Smoke test
1863-
command: docker run --pull=never ethereum/solc:build-alpine --version
1864-
- matrix_notify_failure_unless_pr
1865-
18661850
workflows:
18671851
version: 2
18681852

@@ -2047,9 +2031,6 @@ workflows:
20472031
- b_ubu: *requires_nothing
20482032
- t_ubu_soltest_deprecated_evm_versions: *requires_b_ubu
20492033

2050-
# Build in a Docker container (on Alpine Linux)
2051-
- b_alpine_docker: *requires_nothing
2052-
20532034
nightly-ossfuzz:
20542035

20552036
triggers:

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Bugfixes:
1010
* Yul Optimizer: Fix edge case in which invalid Yul code is produced by ExpressionSimplifier due to expressions being substituted that contain out-of-scope variables.
1111

1212
Build System:
13+
* Docker: Discontinue DockerHub as a binary distribution channel.
1314
* Ubuntu PPA Packages: Discontinue the PPA as a binary distribution channel.
1415
* Update minimum version requirements of Boost to 1.83.0 for non-windows builds and of GCC and Clang to 13.3 and 18.1.3, respectively. Fixes infinite recursion on `boost::rational` comparison affecting compiler binaries built with GCC<14.0 and Boost<1.75.
1516

ReleaseChecklist.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
### Requirements
44
- [ ] GitHub account with access to [solidity](https://github.com/argotorg/solidity), [solc-js](https://github.com/argotorg/solc-js),
55
[solc-bin](https://github.com/argotorg/solc-bin), [solidity-website](https://github.com/argotorg/solidity-website).
6-
- [ ] DockerHub account with push rights to the [`solc` image](https://hub.docker.com/r/ethereum/solc).
7-
- [ ] Ubuntu/Debian dependencies of the Docker script: `docker-buildx`.
86
- [ ] [npm Registry](https://www.npmjs.com) account added as a collaborator for the [`solc` package](https://www.npmjs.com/package/solc).
97
- [ ] Access to the [solidity_lang Twitter account](https://twitter.com/solidity_lang).
108
- [ ] [Reddit](https://www.reddit.com) account that is at least 10 days old with a minimum of 20 comment karma (`/r/ethereum` requirements).
@@ -74,10 +72,6 @@ At least a day before the release:
7472
### Homebrew and MacOS
7573
- [ ] Update the version and the hash (`sha256sum solidity_$VERSION.tar.gz`) in the [`solidity` formula in Homebrew core repository](https://github.com/Homebrew/homebrew-core/blob/master/Formula/s/solidity.rb).
7674

77-
### Docker
78-
- [ ] Make sure `docker-buildx` is installed.
79-
- [ ] Run `./scripts/docker_deploy_manual.sh v$VERSION`.
80-
8175
### Release solc-js
8276
- [ ] Wait until solc-bin was properly deployed. You can test this via remix - a test run through remix is advisable anyway.
8377
- [ ] Increment the version number, create a pull request for that, merge it after tests succeeded.

docs/installing-solidity.rst

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -72,44 +72,13 @@ Please refer to the solc-js repository for instructions.
7272
Docker
7373
======
7474

75-
Docker images of Solidity builds are available using the ``solc`` image from the ``ethereum`` organization.
76-
Use the ``stable`` tag for the latest released version, and ``nightly`` for potentially unstable changes in the ``develop`` branch.
77-
78-
The Docker image runs the compiler executable so that you can pass all compiler arguments to it.
79-
For example, the command below pulls the stable version of the ``solc`` image (if you do not have it already),
80-
and runs it in a new container, passing the ``--help`` argument.
81-
82-
.. code-block:: bash
83-
84-
docker run ethereum/solc:stable --help
85-
86-
.. note::
87-
88-
Specific compiler versions are supported as the Docker image tag such as ``ethereum/solc:0.8.23``.
89-
We will be passing the ``stable`` tag here instead of specific version tag to ensure that users get
90-
the latest version by default and avoid the issue of an out-of-date version.
91-
92-
To use the Docker image to compile Solidity files on the host machine, mount a
93-
local folder for input and output, and specify the contract to compile. For example:
94-
95-
.. code-block:: bash
96-
97-
docker run \
98-
--volume "/tmp/some/local/path/:/sources/" \
99-
ethereum/solc:stable \
100-
/sources/Contract.sol \
101-
--abi \
102-
--bin \
103-
--output-dir /sources/output/
104-
105-
You can also use the standard JSON interface (which is recommended when using the compiler with tooling).
106-
When using this interface, it is not necessary to mount any directories as long as the JSON input is
107-
self-contained (i.e. it does not refer to any external files that would have to be
108-
:ref:`loaded by the import callback <initial-vfs-content-standard-json-with-import-callback>`).
109-
110-
.. code-block:: bash
75+
Docker images of Solidity builds up to version 0.8.30 are available on DockerHub as ``ethereum/solc``.
76+
However, we have discontinued this distribution method and future versions will not be added there.
11177

112-
docker run ethereum/solc:stable --standard-json < input.json > output.json
78+
The images contain only a statically-linked compiler binary and were provided merely for convenience,
79+
as a way to download and manage multiple versions using Docker.
80+
On systems with Docker already installed this made it possible to use any version of the
81+
compiler with a simple ``docker run ethereum/solc:<version>`` command.
11382

11483
Linux Packages
11584
==============

scripts/Dockerfile

Lines changed: 0 additions & 38 deletions
This file was deleted.

scripts/Dockerfile_alpine

Lines changed: 0 additions & 5 deletions
This file was deleted.

scripts/docker_deploy_manual.sh

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)