Skip to content

Commit e8cc9f8

Browse files
committed
Discontinue official Docker images of Solidity
1 parent aafaed2 commit e8cc9f8

File tree

7 files changed

+8
-184
lines changed

7 files changed

+8
-184
lines changed

.circleci/config.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,22 +1923,6 @@ jobs:
19231923
- matrix_notify_failure_unless_pr
19241924
- matrix_notify_release_unless_pr
19251925

1926-
b_alpine_docker:
1927-
<<: *base_cimg_small
1928-
steps:
1929-
- setup_remote_docker:
1930-
# Always build from scratch to use current packages.
1931-
# This job is only meant to run nightly so build time is not an issue.
1932-
docker_layer_caching: false
1933-
- checkout
1934-
- run:
1935-
name: Build and tag the container
1936-
command: scripts/docker_deploy_manual.sh develop "file://$PWD" --no-push
1937-
- run:
1938-
name: Smoke test
1939-
command: docker run --pull=never ghcr.io/argotorg/solc:build-alpine --version
1940-
- matrix_notify_failure_unless_pr
1941-
19421926
workflows:
19431927
version: 2
19441928

@@ -2132,9 +2116,6 @@ workflows:
21322116
- b_ubu: *requires_nothing
21332117
- t_ubu_soltest_deprecated_evm_versions: *requires_b_ubu
21342118

2135-
# Build in a Docker container (on Alpine Linux)
2136-
- b_alpine_docker: *requires_nothing
2137-
21382119
nightly-ossfuzz:
21392120

21402121
triggers:

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Bugfixes:
1111
* 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.
1212

1313
Build System:
14+
* Docker: Discontinue DockerHub as a binary distribution channel.
1415
* Enable Linux arm64 binaries for testing and releases.
1516
* Ubuntu PPA Packages: Discontinue the PPA as a binary distribution channel.
1617
* 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.

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).
@@ -73,10 +71,6 @@ At least a day before the release:
7371
### Homebrew and MacOS
7472
- [ ] 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).
7573

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

docs/installing-solidity.rst

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -71,44 +71,14 @@ Please refer to the solc-js repository for instructions.
7171
Docker
7272
======
7373

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

111-
docker run ghcr.io/argotorg/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.
11282

11383
Linux Packages
11484
==============

scripts/Dockerfile

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

scripts/Dockerfile_alpine

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

scripts/docker_deploy_manual.sh

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

0 commit comments

Comments
 (0)