Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1974,28 +1974,6 @@ jobs:
- matrix_notify_failure_unless_pr
- matrix_notify_release_unless_pr

b_alpine_docker:
<<: *base_cimg_small
steps:
- setup_remote_docker:
# Always build from scratch to use current packages.
# This job is only meant to run nightly so build time is not an issue.
docker_layer_caching: false
- checkout
- run:
name: Disable partial clone and fetch all objects
command: |
git config remote.origin.promisor false
git config --unset remote.origin.partialclonefilter
git fetch --refetch origin
- run:
name: Build and tag the container
command: scripts/docker_deploy_manual.sh develop "file://$PWD" --no-push
- run:
name: Smoke test
command: docker run --pull=never ghcr.io/argotorg/solc:build-alpine --version
- matrix_notify_failure_unless_pr

workflows:
version: 2

Expand Down Expand Up @@ -2191,9 +2169,6 @@ workflows:
- b_ubu: *requires_nothing
- t_ubu_soltest_deprecated_evm_versions: *requires_b_ubu

# Build in a Docker container (on Alpine Linux)
- b_alpine_docker: *requires_nothing

nightly-ossfuzz:

triggers:
Expand Down
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Compiler Features:

Bugfixes:

Build System:
* Docker: Discontinue DockerHub as a binary distribution channel.

### 0.8.33 (2025-12-18)

Expand Down
8 changes: 0 additions & 8 deletions ReleaseChecklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
## Requirements
- GitHub account with access to [solidity](https://github.com/argotorg/solidity), [solc-js](https://github.com/argotorg/solc-js),
[solc-bin](https://github.com/argotorg/solc-bin), [solidity-website](https://github.com/argotorg/solidity-website).
- Personal Access Token (PAT) with `write:packages` scope to access Github's container registry.
You can generate one by visiting https://github.com/settings/tokens/new?scopes=write:packages.
- Ubuntu/Debian dependencies of the Docker script: `docker-buildx`.
- [npm Registry](https://www.npmjs.com) account added as a collaborator for the [`solc` package](https://www.npmjs.com/package/solc).
- Access to the [solidity_lang Twitter account](https://twitter.com/solidity_lang).
- [Reddit](https://www.reddit.com) account that is at least 10 days old with a minimum of 20 comment karma (`/r/ethereum` requirements).
Expand Down Expand Up @@ -76,11 +73,6 @@ At least a day before the release:
### Homebrew and MacOS
- [ ] 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).

### Docker
- [ ] Make sure `docker-buildx` is installed.
- [ ] Run `echo $GHCR_TOKEN | docker login ghcr.io --username $GH_USERNAME --password-stdin` where `$GH_USERNAME` is your GitHub username and `$GHCR_TOKEN` is a PAT with `write:packages` scope.
- [ ] Run `./scripts/docker_deploy_manual.sh v$VERSION`.

### Release solc-js
- [ ] Wait until solc-bin was properly deployed. You can test this via remix - a test run through remix is advisable anyway.
- [ ] Increment the version number, create a pull request for that, merge it after tests succeeded.
Expand Down
44 changes: 7 additions & 37 deletions docs/installing-solidity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,44 +71,14 @@ Please refer to the solc-js repository for instructions.
Docker
======

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.
Use the ``stable`` tag for the latest released version, and ``nightly`` for potentially unstable changes in the ``develop`` branch.

The Docker image runs the compiler executable so that you can pass all compiler arguments to it.
For example, the command below pulls the stable version of the ``solc`` image (if you do not have it already),
and runs it in a new container, passing the ``--help`` argument.

.. code-block:: bash

docker run ghcr.io/argotorg/solc:stable --help

.. note::

Specific compiler versions are supported as the Docker image tag such as ``ghcr.io/argotorg/solc:0.8.23``.
We will be passing the ``stable`` tag here instead of specific version tag to ensure that users get
the latest version by default and avoid the issue of an out-of-date version.

To use the Docker image to compile Solidity files on the host machine, mount a
local folder for input and output, and specify the contract to compile. For example:

.. code-block:: bash

docker run \
--volume "/tmp/some/local/path/:/sources/" \
ghcr.io/argotorg/solc:stable \
/sources/Contract.sol \
--abi \
--bin \
--output-dir /sources/output/

You can also use the standard JSON interface (which is recommended when using the compiler with tooling).
When using this interface, it is not necessary to mount any directories as long as the JSON input is
self-contained (i.e. it does not refer to any external files that would have to be
:ref:`loaded by the import callback <initial-vfs-content-standard-json-with-import-callback>`).

.. code-block:: bash
Docker images containing Solidity builds up to version 0.8.31 are available in Github's container
registry as `solc <https://github.com/argotorg/solidity/pkgs/container/solc>`_ under the ``argotorg`` organization.
However, we have discontinued this distribution method and future versions will not be added there.

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

Linux Packages
==============
Expand Down
38 changes: 0 additions & 38 deletions scripts/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/Dockerfile_alpine

This file was deleted.

78 changes: 0 additions & 78 deletions scripts/docker_deploy_manual.sh

This file was deleted.